move scripts, update other things
This commit is contained in:
1 parent
8be9fe6370
commit
0c79acd431
61 files changed
+2728
-539
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# script to switch between the two audio outputs on my desktop
|
||||
|
||||
headphone_templar=$(pactl list short sinks | grep analog-stereo | awk '{print $2}')
|
||||
hdmi_sound_templar=$(pactl list short sinks | grep iec958-stereo | awk '{print $2}')
|
||||
|
||||
if [[ $(pactl get-default-sink) == $headphone_templar ]]; then
|
||||
pactl set-default-sink $hdmi_sound_templar
|
||||
elif [[ $(pactl get-default-sink) == $hdmi_sound_templar ]]; then
|
||||
pactl set-default-sink $headphone_templar
|
||||
fi
|
||||
Reference in new issue
Block a user