mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 21:32:26 +01:00
KeyboardConfig, MediaConfig, SystrayConfig, OverflowTogglePosition, ButtonPosition, FieldMatch and HiddenIconRule (pure data: serde and schemars derives, no platform code) move from the Windows widget files to crates/komorebi-bar-core/src/widgets/platform_config.rs, so that the next revision can give WidgetConfig a variant for every widget. The Windows widget files re-export them (`pub use`), so no other file changes; the runtime halves (Win32, systray_util) stay in komorebi-bar. The core gains the komorebi-config dependency (for MatchingStrategy; the schemars feature now forwards to komorebi-config and komorebi-protocol); one line in each Cargo.lock. Nothing on macOS refers to the types yet, so the macOS schema cannot change. The schema harness (out of tree) no longer slices systray.rs by line number. Verified: schema harness macOS and Windows byte-identical (3,774 / 9,091 lines); native bar-core tests 3+5; Windows clippy -D warnings --locked clean; macOS fake-CC check --locked 0 errors. Not run: the bars.