Mapping hardware keys for audio

This commit is contained in:
Dan Buch 2017-07-12 09:44:47 -04:00
parent 4fcdcd0bca
commit d3989d8bda
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -102,6 +102,9 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 0 -1000
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +1000
bindsym XF86AudioMute exec pactl set-sink-mute 0 toggle
# resize window (you can also use the mouse for that)
mode "resize" {