diff options
Diffstat (limited to 'bin/do_speakers.sh')
-rwxr-xr-x | bin/do_speakers.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/bin/do_speakers.sh b/bin/do_speakers.sh deleted file mode 100755 index 84b82e1..0000000 --- a/bin/do_speakers.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -USB_CARD="alsa_card.usb-FiiO_DigiHug_USB_Audio-01" -USB_SINK="alsa_output.usb-FiiO_DigiHug_USB_Audio-01.iec958-stereo" -SPEAKERS="alsa_output.pci-0000_00_1b.0.analog-stereo" - -pacmd set-sink-mute "${USB_SINK}" 1 -pacmd set-sink-mute "${SPEAKERS}" 0 - -for s in $(pacmd list-sink-inputs | awk '$1 == "index:" {print $2}') -do - pacmd move-sink-input $s "${SPEAKERS}" >/dev/null 2>&1 -done |