From 97ad852368f13db8b02005a4e4ce1f0de28d67bc Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Sun, 21 Apr 2024 09:05:41 +1200 Subject: [PATCH] sway: use pipewire --- .config/sway/config | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index 5668c10..17fbd9c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -2,7 +2,7 @@ exec emacs --daemon exec kwalletd5 exec mako -exec sndiod +exec pipewire ### Variables @@ -70,9 +70,10 @@ bindsym $mod+p exec $shot copy area bindsym $mod+Shift+p exec $shot save area # Change sound volume -bindsym $mod+f1 exec sndioctl output.level=0 -bindsym $mod+f2 exec sndioctl output.level=-0.05 -bindsym $mod+f3 exec sndioctl output.level=+0.05 +set $volume wpctl set-volume -l 1.2 @DEFAULT_AUDIO_SINK@ +bindsym $mod+f1 exec $volume 0% +bindsym $mod+f2 exec $volume 5%- +bindsym $mod+f3 exec $volume 5%+ # Pause/play cmus bindsym $mod+Shift+z exec cmus-remote -C player-pause