Skip to content

Instantly share code, notes, and snippets.

@darkliquid
Created July 9, 2010 17:23
Show Gist options
  • Save darkliquid/469739 to your computer and use it in GitHub Desktop.
Save darkliquid/469739 to your computer and use it in GitHub Desktop.
#!/bin/bash
res=$(zenity --list --text="Choose a screen size" --column="Choice" --column="Resolution" --radiolist FALSE "1680x1050" TRUE "3360x1050" --separator=":")
if [ $? ] ; then
xrandr --size $res
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment