add start of window fixer upper script

This commit is contained in:
Donald Burr 2015-02-19 18:25:34 -08:00
parent da1d7034d4
commit a199e3e7bb

15
acatcher/fix_windows.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/sh
# user configurable stuffs go here
WINDOW_WIDTH=320
WINDOW_HEIGHT=240
CHROME_WIDTH_OFFSET=2
CHROME_HEIGHT_OFFSET=20
# end of user configurable section
# get screen width and height
WIDTH=`xdpyinfo | grep dimensions | awk '{print $2}' | awk -Fx '{print $1}'`
HEIGHT=`xdpyinfo | grep dimensions | awk '{print $2}' | awk -Fx '{print $2}'`
echo "display is $WIDTH x $HEIGHT"