#!/bin/bash # square() { x=200 y=200 xwit -root -warp $x $y while [ "$y" -lt 600 ]; do xwit -root -warp $x $y let y=$y+1 done while [ "$x" -lt 600 ]; do xwit -root -warp $x $y let x=$x+1 done while [ "$y" -gt 200 ]; do xwit -root -warp $x $y let y=$y-1 done while [ "$x" -gt 200 ]; do xwit -root -warp $x $y let x=$x-1 done } square square