#!/bin/sh geo=`xwininfo -root -stats | grep 'geometry' | awk '{print $2}'` echo $geo ./a.out -s $geo <