Merge pull request #1 from Mango0x45/patch-1

Removed useless variable
This commit is contained in:
Ahmad Ansori Palembani 2020-10-06 09:11:21 +07:00 committed by GitHub
commit 683206449b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,8 +3,6 @@ choices="1366x768
1360x765 1360x765
1280x720" 1280x720"
message="What music player do you want to launch?"
chosen=$(echo -e "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar) chosen=$(echo -e "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
case "$chosen" in case "$chosen" in
@ -12,4 +10,3 @@ case "$chosen" in
1360x765) xrandr --output VGA-1 --mode 1360x765_60.00 && notify-send "Resolution has been changed to" "1360x765";; 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";; 1280x720) xrandr --output VGA-1 --mode $chosen && notify-send "Resolution has been changed to" "$chosen";;
esac esac