Fixed togglehdmiaudio

master
lanxu 2019-05-18 13:05:19 +03:00
parent 352acb1f4b
commit 5268935e9c
1 changed files with 1 additions and 0 deletions

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