sway: Add shortcut for toggling DPMS
This commit is contained in:
parent
252acc0a54
commit
54f6d6ad15
|
@ -147,6 +147,7 @@ bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
|
||||
bindsym $mod+y exec "swaylock -f -i $wallpaper"
|
||||
bindsym --locked $mod+q exec 'test $(swaymsg -t get_outputs | jq "[.[].dpms] | any") = "true" && swaymsg "output * dpms off" || swaymsg "output * dpms on"'
|
||||
|
||||
# Status Bar
|
||||
bar {
|
||||
|
|
Reference in a new issue