Fixed togglehdmiaudio
This commit is contained in:
parent
352acb1f4b
commit
5268935e9c
|
@ -3,6 +3,7 @@
|
||||||
# Toggle between HDMI and Analog
|
# Toggle between HDMI and Analog
|
||||||
# Find out current RUNNING sink
|
# Find out current RUNNING sink
|
||||||
currentSink=$(pactl list short sinks | grep 'RUNNING' | awk '{print$2}')
|
currentSink=$(pactl list short sinks | grep 'RUNNING' | awk '{print$2}')
|
||||||
|
#currentSink=$(pactl info | grep "Default Sink:" | awk '{print$3}')
|
||||||
sink=NULL
|
sink=NULL
|
||||||
|
|
||||||
# Then find the first hdmi or analog sink
|
# Then find the first hdmi or analog sink
|
||||||
|
|
Loading…
Reference in New Issue
Block a user