sway: Add multimedia keys for mpd
This commit is contained in:
parent
8b99b6e048
commit
f14a4ead1c
|
@ -146,6 +146,10 @@ bindsym --locked XF86MonBrightnessUp exec brightnessctl set +5%
|
|||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||
|
||||
bindsym XF86AudioPrev exec mpc next
|
||||
bindsym XF86AudioNext exec mpc prev
|
||||
bindsym XF86AudioPlay exec mpc toggle
|
||||
|
||||
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"'
|
||||
|
||||
|
|
Reference in a new issue