phosphor-window-rules
Unified window/context rule engine with one match language and cache.
Phosphor's single window-rule engine: one composable match-expression language, one pluggable action set, one serialization format, and one evaluation pipeline with a match cache. Both the KWin effect and the daemon link this one implementation so match code lives in exactly one place. RuleEvaluator::resolve() walks the rule set in descending priority and accumulates the first action that fills each slot, and WindowRuleSet reads and writes windowrules.json at a fixed schema version, dropping malformed rules with a diagnostic.
Key types
WindowRule{ id, name, enabled, priority, match, actions }.MatchExpressionRuleEvaluatorResolvedActions, backed by a match cache.WindowRuleSetwindowrules.json I/O.Dependencies
QtCorephosphor-protocolphosphor-identityphosphor-fsloader
See also
References
- Full API reference → Doxygen-generated page for
PhosphorWindowRules. - Namespace index Every symbol under
PhosphorWindowRules::.