aboutsummaryrefslogtreecommitdiff
path: root/i3.symlink/config
diff options
context:
space:
mode:
authorCamil Staps2016-04-07 07:45:15 +0200
committerCamil Staps2016-11-30 19:11:42 +0100
commit7a9e324691405531e86aa954a13a0dc4633617f5 (patch)
tree449799a4899c012c52c81ff2298929fc510075b1 /i3.symlink/config
parentsetbg improvements (diff)
Kill i3status when volume is modified
Diffstat (limited to 'i3.symlink/config')
-rw-r--r--i3.symlink/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/i3.symlink/config b/i3.symlink/config
index 5ee2128..fcf8c38 100644
--- a/i3.symlink/config
+++ b/i3.symlink/config
@@ -26,9 +26,9 @@ bindsym Shift+Print exec scrot -u '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'
bindsym --release Control+Print exec scrot -s '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'
bindsym XF86KbdBrightnessUp exec sudo -A ~/bin/kbdbacklight up
bindsym XF86KbdBrightnessDown exec sudo -A ~/bin/kbdbacklight down
-bindsym XF86AudioMute exec amixer sset Master toggle
-bindsym XF86AudioRaiseVolume exec amixer sset Master 1%+
-bindsym XF86AudioLowerVolume exec amixer sset Master 1%-
+bindsym XF86AudioMute exec amixer sset Master toggle && kill -s 10 `pidof i3status`
+bindsym XF86AudioRaiseVolume exec amixer sset Master 1% && kill -s 10 `pidof i3status`
+bindsym XF86AudioLowerVolume exec amixer sset Master 1% && kill -s 10 `pidof i3status`
bindsym $mod+F6 exec xbacklight -inc 5 -time 80
bindsym $mod+F5 exec xbacklight -dec 5 -time 80