From b625acc2e5e4137ebe9cd697cf658836304f21bc Mon Sep 17 00:00:00 2001 From: lelgenio Date: Mon, 27 Dec 2021 10:15:12 -0300 Subject: [PATCH] pulse: fix hdmi output profile --- dotfiles/scripts/pulse-sink | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/scripts/pulse-sink b/dotfiles/scripts/pulse-sink index b572cdd..ac8a79b 100755 --- a/dotfiles/scripts/pulse-sink +++ b/dotfiles/scripts/pulse-sink @@ -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