#! /bin/sh export DISPLAY=:$1 for nw in `xdotool search --screen :$1 ".*"`; do echo "$nw" && xdotool windowsize "$nw" $(cat /usr/local/bin/xsize.conf) && xdotool windowmove "$nw" 0 0 done