diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-12-13 17:23:42 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-12-13 17:23:42 -0500 |
commit | e1096db47d332f2e4bfb4f38d262bb94e69d9ad5 (patch) | |
tree | 1b26b1fedacd307a115cb3a963c8cc8a60a18e96 /bin/do_speakers.sh | |
parent | typo (diff) |
set exec and stuff
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 |