mcsr bullshit and overlay window rule

This commit is contained in:
2026-07-05 06:38:47 -07:00
parent 7dcd8f4b2b
commit a2ac88ce59
3 changed files with 39 additions and 13 deletions

View File

@@ -53,11 +53,24 @@ hl.window_rule({
float = true,
size = { "monitor_w*0.95", "monitor_h*0.95"}
})
hl.window_rule({
match = {
title = "monoverlay"
},
float = true,
pin = true
})
hl.layer_rule({
match = { namespace = "quickshell" },
no_anim = true
})
hl.on("window.open", function (window, active)
if hl.get_active_monitor().active_special_workspace ~= nil then
hl.dispatch(hl.dsp.window.move({workspace = hl.get_active_monitor().active_workspace, window = window}))
end
end)
hl.on("window.active", function(window, active)
if window == nil or window.class == nil then
hl.dispatch(hl.dsp.submap("reset"))