From 786432646e970835c9035d21257f67b5e5d46923 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Fri, 21 Jun 2019 14:41:18 +0200 Subject: [PATCH] config: herbstluftwm: autostart: use pactl for volume control --- config/herbstluftwm/autostart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/herbstluftwm/autostart b/config/herbstluftwm/autostart index e8ac2e7..e8e05c3 100755 --- a/config/herbstluftwm/autostart +++ b/config/herbstluftwm/autostart @@ -87,9 +87,10 @@ hc keybind $Mod-b spawn /usr/bin/chromium 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 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 +hc keybind XF86AudioMute chain . spawn pactl set-sink-mute 0 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 XF86AudioRaiseVolume chain . spawn pactl set-sink-mute 0 false . spawn pactl set-sink-volume 0 '+5%' . spawn herbstclient emit_hook UPDATE +hc keybind XF86AudioMicMute chain . spawn pactl set-source-mute 1 toggle . spawn herbstclient emit_hook UPDATE # tags tag_names=( {1..9} )