From e1096db47d332f2e4bfb4f38d262bb94e69d9ad5 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 13 Dec 2021 17:23:42 -0500 Subject: set exec and stuff --- bin/do_speakers.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100755 bin/do_speakers.sh (limited to 'bin/do_speakers.sh') 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 -- cgit v1.2.3