From 8fb72f81c9b23bab7e2a992e7eefe9bf60c9093b Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 7 Dec 2020 19:06:03 +0100 Subject: sway: use soundswitch for audio binds, instead of pactl directly --- .config/sway/binds.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.config') diff --git a/.config/sway/binds.conf b/.config/sway/binds.conf index 4954de0..f8591d6 100644 --- a/.config/sway/binds.conf +++ b/.config/sway/binds.conf @@ -223,10 +223,10 @@ bindsym $mod+x [con_mark="x"] focus bindsym $mod+Ctrl+x swap container with mark "x" # Media volume controls -bindsym XF86AudioMute exec pactl set-sink-mute '@DEFAULT_SINK@' toggle -bindsym XF86AudioMicMute exec pactl set-input-mute '@DEFAULT_INPUT@' toggle -bindsym XF86AudioLowerVolume exec pactl set-sink-volume '@DEFAULT_SINK@' -5% -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume '@DEFAULT_SINK@' +5% +bindsym XF86AudioMute exec soundswitch -m +bindsym XF86AudioMicMute exec soundswitch -M +bindsym XF86AudioLowerVolume exec soundswitch -v +bindsym XF86AudioRaiseVolume exec soundswitch -V # Sreen brightness controls bindsym XF86MonBrightnessUp exec light -A 5 -- cgit 1.4.1