sway: Allow changing brightness when locked

This commit is contained in:
Simon Bruder 2020-08-30 19:48:34 +02:00
parent b9323f58f5
commit 252acc0a54
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -141,8 +141,8 @@ bindsym $mod+d mode "resize"
# Multimedia Keys
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym XF86MonBrightnessUp exec brightnessctl set +5%
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
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%