mcsr bullshit and overlay window rule
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user