From cebcbc8b23730254f56ab2abd1f9b277c1f86541 Mon Sep 17 00:00:00 2001 From: imgurbot12 Date: Sat, 23 Mar 2024 23:03:44 -0700 Subject: [PATCH] feat: pipewire support --- other-plugins/pactl-audio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other-plugins/pactl-audio.sh b/other-plugins/pactl-audio.sh index bb61f04..accc1ac 100755 --- a/other-plugins/pactl-audio.sh +++ b/other-plugins/pactl-audio.sh @@ -1,7 +1,7 @@ #!/bin/sh get_sinks() { - sinks=`pactl list sinks | grep -e 'Sink' -e 'Name' -e 'Description' | nl -s '>'` + sinks=`pactl list sinks | grep -e 'Sink ' -e 'Name: ' -e 'Description: ' | nl -s '>'` default=`pactl get-default-sink` for i in `seq 1 3 $(echo "$sinks" | wc -l)`; do sink=`echo "$sinks" | grep "$i>" | cut -d '#' -f2`