|
|
|
@ -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/) /' |
|
|
|
|