i3: send signal to refresh i3blocks

master
Guillaume Dott 2017-10-27 12:25:16 +02:00
parent 5df053eb7d
commit 52f3049a7b
1 changed files with 5 additions and 5 deletions

View File

@ -219,13 +219,13 @@ bindsym XF86HomePage workspace 2
bindsym XF86Mail workspace 10
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $sink +2%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $sink -2%
bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $sink +5% && pkill -RTMIN+10 i3blocks"
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $sink -5% && pkill -RTMIN+10 i3blocks"
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume $sink +5%
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume $sink -5%
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume $sink +2% && pkill -RTMIN+10 i3blocks"
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume $sink -2% && pkill -RTMIN+10 i3blocks"
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute $sink toggle
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute $sink toggle && pkill -RTMIN+10 i3blocks"
# Media player controls
bindsym XF86AudioPlay exec --no-startup-id mpc toggle