+ Added scripts directory
This commit is contained in:
parent
c42020a930
commit
08332199a2
23 changed files with 547 additions and 0 deletions
15
.scripts/resolution.sh
Executable file
15
.scripts/resolution.sh
Executable 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue