From c7750a3285bb535a20b701cad6bd31d17e0f5a4f Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Mon, 7 Sep 2026 15:15:50 +0200 Subject: [PATCH] fix(hyprland): match desktop app window classes Obsidian and Thunderbird now publish reverse-DNS classes, so the old exact rules never routed their autostart windows. Preserve legacy class variants while matching current clients. --- system-config/config/user/common/hypr/hyprland.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system-config/config/user/common/hypr/hyprland.lua b/system-config/config/user/common/hypr/hyprland.lua index 9a9ead5..f8b7755 100644 --- a/system-config/config/user/common/hypr/hyprland.lua +++ b/system-config/config/user/common/hypr/hyprland.lua @@ -154,8 +154,8 @@ local function float_rule(name, match, border_size) }) end -hl.window_rule({ name = "obsidian-workspace", match = { class = "^obsidian$" }, workspace = "special:obsidian silent", no_initial_focus = true }) -hl.window_rule({ name = "thunderbird-mail", match = { class = "^(Thunderbird|thunderbird)$" }, workspace = "special:mail silent", no_initial_focus = true }) +hl.window_rule({ name = "obsidian-workspace", match = { class = "^(obsidian|md[.]obsidian[.]Obsidian)$" }, workspace = "special:obsidian silent", no_initial_focus = true }) +hl.window_rule({ name = "thunderbird-mail", match = { class = "^(Thunderbird|thunderbird|org[.]mozilla[.]Thunderbird)$" }, workspace = "special:mail silent", no_initial_focus = true }) float_rule("pi-status-ui", { class = "^(pi-status-ui|Pi-status-ui)$" }, 1) float_rule("alsamixer", { title = "^alsamixer$" }, 1) float_rule("qalculate", { title = "^Qalculate!$" })