Loading hdmi_sound_toggle.sh +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ INPUTS=$(pulsecmd pacmd list-sink-inputs | grep index | awk '{print $2}') # Compute output name echo $INPUTS if [ ! -z $HDMI_STATUS ] && [ -z "$HEADPHONE_STATUS" ] if [ ! -z "$HDMI_STATUS" ] && [ -z "$HEADPHONE_STATUS" ] then name="hdmi" plusname=".monitor" Loading @@ -59,7 +59,7 @@ then fi echo "io $io" # Iterate over all cardes # Iterate over all cards for i in $(seq 0 $(($(pulsecmd pacmd list-cards | grep index |wc -l)-1))) do # Set profile or turn card off Loading Loading
hdmi_sound_toggle.sh +2 −2 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ INPUTS=$(pulsecmd pacmd list-sink-inputs | grep index | awk '{print $2}') # Compute output name echo $INPUTS if [ ! -z $HDMI_STATUS ] && [ -z "$HEADPHONE_STATUS" ] if [ ! -z "$HDMI_STATUS" ] && [ -z "$HEADPHONE_STATUS" ] then name="hdmi" plusname=".monitor" Loading @@ -59,7 +59,7 @@ then fi echo "io $io" # Iterate over all cardes # Iterate over all cards for i in $(seq 0 $(($(pulsecmd pacmd list-cards | grep index |wc -l)-1))) do # Set profile or turn card off Loading