sway: control volume by 1% steps

This commit is contained in:
Cedric Girard 2019-07-10 14:36:16 +02:00
parent 2891d1b9ea
commit 0ae509c039

View file

@ -221,8 +221,8 @@ bindsym $mod+r mode "resize"
# #
# Function Keys # Function Keys
# #
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -100 bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -1%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +100 bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +1%
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym XF86MonBrightnessDown exec light -U 5 bindsym XF86MonBrightnessDown exec light -U 5
bindsym XF86MonBrightnessUp exec light -A 5 bindsym XF86MonBrightnessUp exec light -A 5