config: herbstluftwm: autostart: use @DEFAULT_SINK@ when changing audio volume

This commit is contained in:
Thomas Preisner 2019-09-24 16:31:22 +02:00
parent 786432646e
commit c5126606df

View file

@ -87,9 +87,9 @@ hc keybind $Mod-b spawn /usr/bin/chromium
hc keybind $Mod-grave spawn "$HOME"/.config/herbstluftwm/q3terminal.sh 9 hc keybind $Mod-grave spawn "$HOME"/.config/herbstluftwm/q3terminal.sh 9
hc keybind $Mod-Shift-f chain , attr clients.focus.ewmhnotify false , attr clients.focus.fullscreen false , attr clients.focus.ewmhnotify true hc keybind $Mod-Shift-f chain , attr clients.focus.ewmhnotify false , attr clients.focus.fullscreen false , attr clients.focus.ewmhnotify true
hc keybind XF86AudioMute chain . spawn pactl set-sink-mute 0 toggle . spawn herbstclient emit_hook UPDATE hc keybind XF86AudioMute chain . spawn pactl set-sink-mute @DEFAULT_SINK@ toggle . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioLowerVolume chain . spawn pactl set-sink-mute 0 false . spawn pactl set-sink-volume 0 '-5%' . spawn herbstclient emit_hook UPDATE hc keybind XF86AudioLowerVolume chain . spawn pactl set-sink-mute @DEFAULT_SINK@ false . spawn pactl set-sink-volume @DEFAULT_SINK@ '-5%' . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioRaiseVolume chain . spawn pactl set-sink-mute 0 false . spawn pactl set-sink-volume 0 '+5%' . spawn herbstclient emit_hook UPDATE hc keybind XF86AudioRaiseVolume chain . spawn pactl set-sink-mute @DEFAULT_SINK@ false . spawn pactl set-sink-volume @DEFAULT_SINK@ '+5%' . spawn herbstclient emit_hook UPDATE
hc keybind XF86AudioMicMute chain . spawn pactl set-source-mute 1 toggle . spawn herbstclient emit_hook UPDATE hc keybind XF86AudioMicMute chain . spawn pactl set-source-mute 1 toggle . spawn herbstclient emit_hook UPDATE
# tags # tags