pulse: fix hdmi output profile
This commit is contained in:
parent
9b52fa57c7
commit
b625acc2e5
|
@ -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
|
||||
|
|
Reference in New Issue