feat(windows): add large-popup window rule

This commit is contained in:
venus
2026-08-06 23:21:34 -05:00
parent 3963fc4042
commit 991acbd260

View File

@@ -34,6 +34,8 @@ hl.window_rule({
match = { initial_class = "^browser-popup$" },
tag = "popup"
})
hl.window_rule({
match = { tag = "popup" },
float = true,
@@ -41,6 +43,13 @@ hl.window_rule({
size = {"(monitor_w * 0.5)", "(monitor_h * 0.7)"},
})
hl.window_rule({
match = { tag = "large-popup" },
float = true,
border_size = 2,
size = {"(monitor_w * 0.9)", "(monitor_h * 0.9)"},
})
hl.window_rule( {
-- Ignore maximize requests from all apps. You'll probably like this.