Update config files

This commit is contained in:
Ethan Lane 2025-02-03 17:51:15 +00:00
parent 008a765e32
commit 7ab6ef170d
13 changed files with 280 additions and 102 deletions

View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
SINK=$(pactl get-default-sink)
if [ $SINK = "alsa_output.pci-0000_1f_00.3.analog-stereo" ]; then
echo "Speakers"
elif [ $SINK = "alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo" ]; then
echo "Headphones"
else
echo "-"
fi