From 07cc206c7e47d4165d91af36ba9b0c075836a91c Mon Sep 17 00:00:00 2001 From: humocs-man Date: Sat, 10 Oct 2026 18:22:55 +0200 Subject: [PATCH] fix: Merge frisst keine output-Zeilen mehr (leeres fallback) --- scripts/kanshi-autoconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/kanshi-autoconfig b/scripts/kanshi-autoconfig index e45a1df..6ee5ba7 100755 --- a/scripts/kanshi-autoconfig +++ b/scripts/kanshi-autoconfig @@ -325,7 +325,10 @@ def profile_output_names(block_lines): def output_name_of(line): parts = line.strip().split() - if len(parts) >= 2 and parts[0] == "output" and parts[1] != "*": + if len(parts) >= 2 and parts[0] == "output": + # Auch "*" und "disable"-Zeilen als Namen fuehren (sonst frisst + # der Merge z.B. `output * enable` im fallback -> leeres Profil + # -> kanshi wendet gar nichts mehr an). return parts[1].strip("'\"") return None