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.
This commit is contained in:
@@ -154,8 +154,8 @@ local function float_rule(name, match, border_size)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
hl.window_rule({ name = "obsidian-workspace", match = { class = "^obsidian$" }, workspace = "special:obsidian 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)$" }, workspace = "special:mail 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("pi-status-ui", { class = "^(pi-status-ui|Pi-status-ui)$" }, 1)
|
||||||
float_rule("alsamixer", { title = "^alsamixer$" }, 1)
|
float_rule("alsamixer", { title = "^alsamixer$" }, 1)
|
||||||
float_rule("qalculate", { title = "^Qalculate!$" })
|
float_rule("qalculate", { title = "^Qalculate!$" })
|
||||||
|
|||||||
Reference in New Issue
Block a user