Commit e36d2c0e authored by Martin's avatar Martin

I switched the cables again

parent 70729d1c
#!/bin/bash
set -euo pipefail
headphones="usb-Kingston_HyperX_Virtual_Surround_Sound_00000000-00"
tvSpeakers="pci-0000_0a_00.1"
pcSpeakers="pci-0000_0c_00.4"
tvSpeakers="pci-0000_08_00.1"
pcSpeakers="pci-0000_0a_00.4"
if ! headphonesID=$(pactl list cards short | grep "${headphones}" | awk '{ print $1 }'); then
echo "Failed to find Headphones: ${headphones}, exiting."
exit 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment