diff --git a/togglehdmiaudio.sh b/togglehdmiaudio.sh index 848e2d1..265fe8a 100755 --- a/togglehdmiaudio.sh +++ b/togglehdmiaudio.sh @@ -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