From aa1b2f6db9f9e3c384df0fe3562208ac6c41a430 Mon Sep 17 00:00:00 2001 From: imgurbot12 Date: Thu, 28 Mar 2024 18:08:12 -0700 Subject: [PATCH] fix: remove debug line --- other-plugins/pactl-audio.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/other-plugins/pactl-audio.sh b/other-plugins/pactl-audio.sh index f5544d7..9622476 100755 --- a/other-plugins/pactl-audio.sh +++ b/other-plugins/pactl-audio.sh @@ -4,7 +4,6 @@ get_sinks() { 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 - echo "$sinks" | grep "$i>" sink=`echo "$sinks" | grep "$i>" | cut -d '#' -f2` name=`echo "$sinks" | grep "$(expr $i + 1)>" | cut -d ':' -f2 | xargs echo -n` desc=`echo "$sinks" | grep "$(expr $i + 2)>" | cut -d ':' -f2 | xargs echo -n`