Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 8 lines (6 sloc) 240 Bytes
#!/bin/bash
if /usr/bin/lsusb | grep --quiet 17ef:1010; then
pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output
else
pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-speaker
fi