Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 4 lines (3 sloc) 250 Bytes
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)
warzone2100 --fullscreen --resolution=${xres}x${yres}