bread-ecosystem/bread-theme
Breadway ea9758a5d5 bread-theme: generate Hyprland layer rules from the shell theme (Phase 4a)
Adds `bread-theme layerrules`, which writes the active shell theme's
[compositor] table to ~/.config/hypr/layerrules.json (atomic write). This
lets ~/.config/hypr/scripts/ui/rules.lua read theme-driven blur/transparency/
animation for the breadbar/breadbox layer-shell namespaces instead of having
them hardcoded, following THEME_SYSTEM_PLAN.md §9. rules.lua keeps its
previous hardcoded rules as a pcall-guarded fallback for when the JSON is
missing or malformed (lives outside this repo, so not part of this commit).

Also fixes a pre-existing test race: shell::tests and the new
layerrules::tests both mutate XDG_CONFIG_HOME in parallel `cargo test`
threads but previously used separate, unrelated locks (or none), so they
could observe each other's env var changes mid-test. Both now share
bread_theme::test_support::XDG_CONFIG_HOME_LOCK.
2026-08-31 15:14:44 +08:00
..
assets/shell/liquid-motion shell: add widget: entries to the builtin's [bar.slots] (Phase 3b) 2026-08-31 15:14:44 +08:00
src bread-theme: generate Hyprland layer rules from the shell theme (Phase 4a) 2026-08-31 15:14:44 +08:00
bakery.toml Fix audit findings: bakery index signing, artifact checksums, stale theme docs 2026-07-17 03:37:51 +08:00
Cargo.toml Add bread_theme::shell manifest system (Phase 1) 2026-08-31 15:14:44 +08:00
CHANGELOG.md Add per-output palettes and window-scoped theme binding 2026-08-16 13:20:00 +08:00