+ Added TwiddleCase
This commit is contained in:
parent
7fc350c84c
commit
d6b049972b
4 changed files with 23 additions and 5 deletions
|
@ -5,8 +5,9 @@ choices="1366x768
|
|||
|
||||
chosen=$(echo -e "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
|
||||
|
||||
[ -z "$chosen" ] && exit 0
|
||||
|
||||
case "$chosen" in
|
||||
1366x768) xrandr --output VGA-1 --mode $chosen && notify-send "Resolution has been changed to" "$chosen";;
|
||||
1360x765) xrandr --output VGA-1 --mode 1360x765_60.00 && notify-send "Resolution has been changed to" "1360x765";;
|
||||
1280x720) xrandr --output VGA-1 --mode $chosen && notify-send "Resolution has been changed to" "$chosen";;
|
||||
1360x765) xrandr --output VGA1 --mode 1360x765_60.00 && notify-send "Resolution has been changed to" "1360x765";;
|
||||
*) xrandr --output VGA1 --mode $chosen && notify-send "Resolution has been changed to" "$chosen";;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue