diff options
| author | Robert Günzler <r@gnzler.io> | 2020-12-07 19:06:03 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-12-07 19:28:05 +0100 |
| commit | 8fb72f81c9b23bab7e2a992e7eefe9bf60c9093b (patch) | |
| tree | 4f9aeb0daf2ac62864348ba135d38ff6fd665a67 /.config | |
| parent | 7ead02512076b27a4bd72633f61e8d0029df5760 (diff) | |
sway: use soundswitch for audio binds, instead of pactl directly
Diffstat (limited to '.config')
| -rw-r--r-- | .config/sway/binds.conf | 8 |
1 files changed, 4 insertions, 4 deletions
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 |