From 33bcf9e238d97b8265ed7d53d3f3c7617aa08393 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 14 Aug 2023 17:12:10 +0200 Subject: [PATCH] update volume shortcuts --- .config/sway/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index cabd4a1..85afc9e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -220,8 +220,10 @@ bindsym $mod+z exec thunar # ------------------------------------------------------------------------------ # Audio shortcuts # ------------------------------------------------------------------------------ -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pactl get-default-sink) +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pactl get-default-sink) -5% +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pactl get-default-sink) +1% +bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pactl get-default-sink) -1% +bindsym Shift+XF86AudioRaiseVolume exec pactl set-source-volume $(pactl get-default-source) +1% +bindsym Shift+XF86AudioLowerVolume exec pactl set-source-volume $(pactl get-default-source) -1% bindsym XF86AudioMicMute exec $HOME/.local/bin/toggle-default-audio --source bindsym XF86AudioMute exec $HOME/.local/bin/toggle-default-audio --sink