Fixed togglehdmiaudio

This commit is contained in:
lanxu 2019-05-18 13:05:19 +03:00
parent 352acb1f4b
commit 5268935e9c

View File

@ -3,6 +3,7 @@
# Toggle between HDMI and Analog
# Find out current RUNNING sink
currentSink=$(pactl list short sinks | grep 'RUNNING' | awk '{print$2}')
#currentSink=$(pactl info | grep "Default Sink:" | awk '{print$3}')
sink=NULL
# Then find the first hdmi or analog sink