feat(windows): add large-popup window rule
This commit is contained in:
@@ -34,6 +34,8 @@ hl.window_rule({
|
|||||||
match = { initial_class = "^browser-popup$" },
|
match = { initial_class = "^browser-popup$" },
|
||||||
tag = "popup"
|
tag = "popup"
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
hl.window_rule({
|
hl.window_rule({
|
||||||
match = { tag = "popup" },
|
match = { tag = "popup" },
|
||||||
float = true,
|
float = true,
|
||||||
@@ -41,6 +43,13 @@ hl.window_rule({
|
|||||||
size = {"(monitor_w * 0.5)", "(monitor_h * 0.7)"},
|
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( {
|
hl.window_rule( {
|
||||||
-- Ignore maximize requests from all apps. You'll probably like this.
|
-- Ignore maximize requests from all apps. You'll probably like this.
|
||||||
|
|||||||
Reference in New Issue
Block a user