-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Thanks for the audio switch script. I am a little confused about the switching by name part, as I am trying to use that one to add some keyboard shortcuts (the number ids change when I reconnect my bluetooth speakers). when doing it from the command line by name, I have tried several different formats without success - what I am doing wrong here? I guess I don;t know how to pass the name string? Here are some of my attempts
$ ./audio.sh alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3
Usage: ./audio.sh [gui|list|<sink name to switch to>]
$ ./audio.sh <"alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3">
bash: syntax error near unexpected token `newline'
$ ./audio.sh <'alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3'>bash: syntax error near unexpected token `newline'
$ ./audio.sh <alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3>
bash: syntax error near unexpected token `newline'
$ ./audio.sh 'alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3'
Usage: ./audio.sh [gui|list|<sink name to switch to>]
$ ./audio.sh "alsa_output.pci-0000_42_00.1.hdmi-stereo-extra3"
Usage: ./audio.sh [gui|list|<sink name to switch to>]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels