This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
HEADSET="alsa_output.usb-Logitech_Logitech_USB_Headset-00.analog-stereo" | |
HEADSET_MIC="alsa_input.usb-Logitech_Logitech_USB_Headset-00.analog-mono" | |
#pacmd list-sink-inputs | |
#pacmd list-source-outputs | |
pacmd stat | grep -E '^Default (sink|source) name' |