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