add start of window fixer upper script
This commit is contained in:
parent
da1d7034d4
commit
a199e3e7bb
1 changed files with 15 additions and 0 deletions
15
acatcher/fix_windows.sh
Executable file
15
acatcher/fix_windows.sh
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue