Skip to content
Newer
Older
100755 4 lines (3 sloc) 246 Bytes
c9ad83d @svenstaro Fixed most games so that they will automatically switch to fullscreen…
authored May 1, 2011
1 xres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f1)
2 yres=$(xrandr -q | grep \* | sed -e "s/^[ \t]*//" -e "s/\([0-9]*x[0-9]*\).*/\1/" | cut -d'x' -f2)
3 wesnoth --fullscreen --resolution ${xres}x${yres}
Something went wrong with that request. Please try again.