Revert "parser: add CfgApplyEffects struct and extend CfgRule with fullscreen, can_float, can_fullscreen, apply_effects"

This reverts commit 690c328c38.
This commit is contained in:
2026-07-03 04:13:54 -04:00
parent 010e885cdf
commit 6f8f2bbf94
5 changed files with 59 additions and 186 deletions
+2 -26
View File
@@ -34,32 +34,8 @@ input = {
}
rules = {
-- Each rule matches when ALL provided fields (app_id, title, etc.)
-- match the window. Per-rule apply_effects toggles are overlays on
-- the global effects block — both must be ON for the effect to apply.
{
app_id = "firefox",
floating = false,
can_float = true, -- false prevents togglefloating for this window
fullscreen = false,
can_fullscreen = true,
tags = "any", -- "any" → all tags; or a bitmask like 1 << 3
monitor = "default", -- "default" → current monitor; or a number to pin
apply_effects = {
rounding = true,
shadows = false,
transparency = false,
blur = false,
gaps = true,
smartgaps = false,
border = true,
sloppy_focus = false,
},
},
-- { app_id = "Gimp", floating = true, monitor = -1 },
-- { app_id = "firefox", tags = 1 << 8, floating = false, monitor = -1 },
-- { title = "Calculator", floating = true, tags = "any" },
-- { app_id = "Gimp", floating = true, monitor = -1 },
-- { app_id = "firefox", tags = 1 << 8, floating = false, monitor = -1 },
}
monitors = {