diff --git a/acatcher/fix_windows.sh b/acatcher/fix_windows.sh new file mode 100755 index 0000000..1b658cd --- /dev/null +++ b/acatcher/fix_windows.sh @@ -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"