herbstluftwm: send event on volume change

This commit is contained in:
Thomas Preisner 2016-12-12 23:53:19 +01:00
parent a463820149
commit 7bdd82b737

View file

@ -71,9 +71,9 @@ else
fi
hc keybind $Mod-q spawn /usr/bin/i3lock
hc keybind XF86AudioMute spawn amixer -q set Master toggle
hc keybind XF86AudioLowerVolume spawn amixer -q set Master playback '5%-'
hc keybind XF86AudioRaiseVolume spawn amixer -q set Master playback '5%+'
hc keybind XF86AudioMute chain . spawn amixer -q set Master toggle . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioLowerVolume and . spawn amixer -q set Master playback '5%-' . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioRaiseVolume chain . spawn amixer -q set Master playback '5%+' . spawn herbstclient emit_hook UPDATE
# tags
tag_names=( {1..9} )