From a5908b4dcd8a807166ee23dadbafc361d6a1bdc8 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 17 Sep 2021 19:11:45 +0200 Subject: [PATCH] Scripts: Fix listing of audio devices --- .local/bin/volctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/volctl b/.local/bin/volctl index 4a7c703..e7ad968 100755 --- a/.local/bin/volctl +++ b/.local/bin/volctl @@ -86,7 +86,7 @@ pulseTcp() "$0" p off # Select audio output device - devices="$(pactl list sources short | awk '/alsa_output.*RUNNING/ { print }' | sort -k 2)" + devices="$(pactl list sources short | awk '/alsa_output.*/ { print }' | sort -k 2)" select="$3" if [ -z "$select" ]; then echo "$devices" | sed -nE '=;s/.*alsa_output\.(.*)\.monitor.*/\1/p;' | sed 'N;s/\n/) /'