#! /bin/sh # # I use this script in my .cwmrc as `bind 4-t xterm-random' 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 x=$(jot -r 1 0 800) y=$(jot -r 1 0 500) exec xterm -geometry 80x25+${x}+${y}