pulse: fix hdmi output profile

This commit is contained in:
lelgenio 2021-12-27 10:15:12 -03:00
parent 9b52fa57c7
commit b625acc2e5
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ switch "$out"
case HDMI
pactl set-card-profile 0 (
env LC_ALL=C pactl list cards |
string replace -raf '^\s*(output:hdmi-surround.*?input.*?): .*' '$1' |
string replace -raf '^\s*(output:hdmi-stereo.*?input.*?): .*' '$1' |
head -n1 )
pactl set-default-sink (pactl list sinks short | grep hdmi | head -n1 | cut -f2)
case Phone