#!/bin/bash export DISPLAY=${DISPLAY:-:0} xwininfo -root | sed -ne 's/ \(Width\|Height\): //p' | { read w read h xwit -root -warp $w $h }