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

This commit is contained in:
2026-07-03 03:26:22 -04:00
parent f5abfe5bc6
commit 690c328c38
+17
View File
@@ -45,6 +45,19 @@ typedef struct {
int tap_button_map; /* libinput enum value */ int tap_button_map; /* libinput enum value */
} CfgInput; } CfgInput;
/* Per-rule effect toggles — which effects to apply to matched windows */
typedef struct {
bool rounding;
bool shadows;
bool transparency;
bool blur;
bool gaps;
bool smartgaps;
bool border;
bool sloppy_focus;
} CfgApplyEffects;
/* Window Rules */ /* Window Rules */
typedef struct { typedef struct {
@@ -52,6 +65,10 @@ typedef struct {
char title[CFG_MAX_STRLEN]; /* empty string = wildcard */ char title[CFG_MAX_STRLEN]; /* empty string = wildcard */
uint32_t tags; uint32_t tags;
bool floating; bool floating;
bool fullscreen;
bool can_float;
bool can_fullscreen;
CfgApplyEffects apply_effects;
int monitor; /* -1 = current */ int monitor; /* -1 = current */
} CfgRule; } CfgRule;