#! /bin/sh # # I use this script in my .cwmrc as `bind 4-t xterm-random.sh' to launch xterm # at a random location rather than under the cursor (which I don't like since # it will always overlap the current xterm unless I jerk the mouse first.) # 1680x1050 ... adjust to preference. x=$(jot -r 1 0 800) y=$(jot -r 1 0 500) exec xterm -geometry 80x25+${x}+${y}