+ Added scripts directory

This commit is contained in:
ziro 2020-04-19 14:31:51 +07:00
parent c42020a930
commit 08332199a2
23 changed files with 547 additions and 0 deletions

15
.scripts/resolution.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/dash
choices="1366x768
1360x765
1280x720"
message="What music player do you want to launch?"
chosen=$(echo -e "$choices" | rofi -dmenu -i -theme ~/.config/rofi/theme/sidebar)
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";;
esac