New beggining.
This commit is contained in:
commit
6964b2b200
33 changed files with 1281 additions and 0 deletions
8
sound-output-toggle
Executable file
8
sound-output-toggle
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
speakers="alsa_output.pci-0000_05_00.6.analog-stereo"
|
||||
headphones="alsa_output.usb-Logitech_G432_Gaming_Headset_000000000000-00.analog-stereo"
|
||||
|
||||
current="$(pactl get-default-sink)"
|
||||
|
||||
[ "$current" = "$headphones" ] && pactl set-default-sink $speakers || pactl set-default-sink $headphones
|
Loading…
Add table
Add a link
Reference in a new issue