Skip to content
Browse files

Fixing foobillard to start at proper resolution

  • Loading branch information...
1 parent f2e68ef commit e2c245899e29b28d9f91e5fe146d82b4f78db75d @svenstaro committed May 3, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 games/foobillard/start.sh
View
4 games/foobillard/start.sh
@@ -1 +1,3 @@
-foobillard --fullscreen
+xres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f1)
+yres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f2)
+foobillard --fullscreen --geometry ${xres}x${yres}

0 comments on commit e2c2458

Please sign in to comment.
Something went wrong with that request. Please try again.