i3: Unmute on Audio{Raise,Lower}Volume presses

This commit is contained in:
2022-05-11 13:56:42 +02:00
parent 9a018d6835
commit 3ced540d3a

View File

@@ -164,9 +164,8 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 5
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
# Volume controls (see https://faq.i3wm.org/question/125/how-to-change-the-systems-volume.1.html)
# Note: just add unmute add the end of the amixer command if the volume keys should unmute
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q -D pulse sset Master 5%+
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q -D pulse sset Master 5%-
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -q -D pulse sset Master 5%+ unmute
bindsym XF86AudioLowerVolume exec --no-startup-id amixer -q -D pulse sset Master 5%- unmute
bindsym XF86AudioMute exec --no-startup-id amixer -q -D pulse sset Master toggle-mute
# Lock