mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 22:58:34 +01:00
komorebi_config::rules holds should_act and should_act_individual, the evaluation of MatchingRule/MatchingStrategy against a window (RuleSubject: title, exe_name, classes, path). The body is the KDE/macOS copy moved verbatim; the single difference of the Windows copy (a rule id is compared as written, no `.exe` stripping) is RuleQuirks::WINDOWS vs RuleQuirks::UNIX, and Windows' single class is a one-element slice. The regex cache is passed in (the daemons keep REGEX_IDENTIFIERS and its lock order). regex 1 becomes a dependency of komorebi-config (already in the lock; one Cargo.lock line). Nothing calls it yet, so no daemon behaviour changes. Verified: cargo clippy -p komorebi-config --all-targets -D warnings, fmt check.