From 4e40566e3d1cdf68dd7f3c359ee9d00bd90f4e4c Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Thu, 28 Mar 2024 14:04:14 +1300 Subject: [PATCH] sway: remove pulseaudio and use sndio --- .config/sway/config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index ca612ee..560c16e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -2,7 +2,7 @@ exec emacs --daemon exec kwalletd5 exec mako -exec pulseaudio --start +exec sndiod ### Variables @@ -70,9 +70,9 @@ bindsym $mod+p exec $shot copy area bindsym $mod+Shift+p exec $shot save area # Change sound volume -bindsym $mod+f1 exec pulsemixer --toggle-mute -bindsym $mod+f2 exec pulsemixer --change-volume -5 -bindsym $mod+f3 exec pulsemixer --change-volume +5 +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 # Pause/play cmus bindsym $mod+Shift+z exec cmus-remote -C player-pause