1 2 3 4 5 6 7 8 9
#!/bin/bash export DISPLAY=${DISPLAY:-:0} xwininfo -root | sed -ne 's/ \(Width\|Height\): //p' | { read w read h xwit -root -warp $w $h }