bread/bread-cli
Breadway 1fce1979c3 Add bread init: Hyprland compositor layer-rule integration
Installs the layerrule blur/ignore_alpha/animation integration that
breadbar's translucency depends on into a user's hyprland.lua, with a
consent-gated single marked block, timestamped backup, dry-run/--yes,
and --undo. Generates a self-contained ~/.config/hypr/bread.lua that
reads layerrules.json (bread-theme layerrules) and emits hl.layer_rule
calls, appearance fields only. Falls back to printing a snippet
(translated to hyprlang .conf syntax when relevant) rather than
writing when the config isn't a Lua hyprland.lua bread recognizes, and
refuses to install when an existing breadbar layer rule (e.g. BOS's
own dotfiles) is already found under ~/.config/hypr.

bread doctor now reports compositor integration status via a pure
filesystem check, independent of the daemon; it never installs
anything itself.

Wired as a top-level Commands::Init (not a HooksCommand variant) since
it needs diff/consent/backup/undo machinery the hooks family has no
use for.
2026-08-26 19:31:18 +08:00
..
src Add bread init: Hyprland compositor layer-rule integration 2026-08-26 19:31:18 +08:00
tests Fix audit findings: path traversal, exec shell, glob dup, dead bread-sync, version drift 2026-07-17 03:20:14 +08:00
Cargo.toml Bump workspace crate versions to 0.8.0 ahead of v0.8.0-rc.1 2026-08-05 08:40:03 +08:00