From e811f458e942ef43c81446345376cd7aa11c2517 Mon Sep 17 00:00:00 2001 From: Raphael Dannecker Date: Thu, 30 Apr 2026 07:40:56 +0200 Subject: [PATCH] Update regex pattern to handle Trixie's partial English output --- roles/lmn_misc/templates/lmn-fix-screen.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lmn_misc/templates/lmn-fix-screen.j2 b/roles/lmn_misc/templates/lmn-fix-screen.j2 index 086e6aa..0fb2e08 100644 --- a/roles/lmn_misc/templates/lmn-fix-screen.j2 +++ b/roles/lmn_misc/templates/lmn-fix-screen.j2 @@ -22,7 +22,7 @@ fi pactl set-card-profile alsa_card.{{ audio_output[0] }} output:{{ audio_output[1] }} pactl set-default-sink alsa_output.{{ audio_output[0] }}.{{ audio_output[1] }} {% else %} -if pactl list cards | grep output:hdmi-stereo: | grep verfügbar:\ ja; then +if pactl list cards | grep output:hdmi-stereo: | grep -E "verfügbar: ja|available: yes"; then pactl set-card-profile $(pactl list short cards | grep -m1 pci | head -1 | cut -f2) output:hdmi-stereo pactl set-default-sink $(pactl list short cards | grep -m1 pci | head -1 | cut -f2 | sed s/card/output/g).hdmi-stereo fi