mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-16 05:41:16 +01:00
The Windows schema.bar.json is the union of the bar configuration (every widget, the mouse options, Windows spelling). New module `schema` holds the macOS view as data: 16 changes (set text/defaults that read differently, remove the mouse property, the Keyboard/Media/Systray widget variants and the NetworkConfig default_interface_options) followed by pruning of the definitions nothing refers to any more. Same design as komorebi-config (schema.rs, changes.rs); the changes are idempotent so a bar can print its own generated schema through its view. Nothing uses the views yet; no bar source changed. Verified: native `cargo test -p komorebi-bar-core` 3 unit + 5 oracle passed (new: the macOS view of the checked-in Windows file is byte-identical to komorebi-for-mac/schema.bar.json; the Windows view is the Windows file; a view is idempotent). Windows clippy -D warnings clean; macOS fake-CC check 0 errors. Not verified: nothing rendered.