aboutsummaryrefslogtreecommitdiff
path: root/.config/i3
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-08-04 10:56:07 -0700
committerRaúl Benencia <rul@kalgan.cc>2019-08-04 10:56:07 -0700
commit9346f23a7bb6c9428ff752e747f268d9f9c8db21 (patch)
tree32742fe255e16d42d05c10f1fbd762f8ad80ceda /.config/i3
parente3b421c86bb49fd3d44e88867aeb99d5b7d53319 (diff)
better battery
Diffstat (limited to '.config/i3')
-rw-r--r--.config/i3/config6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/i3/config b/.config/i3/config
index a7b52a0..a5bd3cf 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -137,9 +137,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'"
# Pulse Audio controls
-bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
-bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
+bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% && pkill -RTMIN+10 i3blocks #increase sound volume
+bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% && pkill -RTMIN+10 i3blocks #decrease sound volume
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle && pkill -RTMIN+10 i3blocks # mute sound
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
nihil fit ex nihilo