From d3989d8bda646b6fbbd83dfbce5c7c66aefc0db2 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Wed, 12 Jul 2017 09:44:47 -0400 Subject: [PATCH] Mapping hardware keys for audio --- i3/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/i3/config b/i3/config index 1e8dafc..c40eba0 100644 --- a/i3/config +++ b/i3/config @@ -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" {