#!/bin/sh
#
# dxt4 [N]
#
# This waits N seconds (default  5),  time  enough  to  switch  to  a
# different desktop.  Then we fire up four xterms in the four corners
# of the screen, with different foreground colors.   The  coordinates
# will  probably need to change with different window managers.  This
# bunch is set up for:
#   KDE with 30-pixel-high task bar

if [ $# -lt 1 ];then set 5; fi

n=$1
while [ $n -gt 0 ]
do	echo $n
	sleep 1
	n=`expr $n - 1`
done

xterm -cm -sl 1000 -sb -g 90x40+12+0  -cr red -bg grey30 -fg white &
sleep 1
xterm -cm -sl 1000 -sb -g 90x40-0+0   -cr red -bg grey30 -fg yellow &
sleep 1
xterm -cm -sl 1000 -sb -g 90x40+12-30 -cr red -bg grey30 -fg green &
sleep 1
xterm -cm -sl 1000 -sb -g 90x40-0-30  -cr red -bg grey30 -fg cyan &
