Commit graph

3 commits

Author SHA1 Message Date
Breadway
7b7fe680fe Migrate config load/save to bread_utils::tomlcfg; timeout-guard hyprctl calls
config.rs's config_dir/load_doc/save_doc/atomic_write were a byte-for-byte
copy of bos-settings/src/config/mod.rs's versions (own doc comment said as
much) introduced in the same fix pass that added them there — now both
delegate to bread_utils::tomlcfg/bread_utils::atomic instead of each
carrying their own copy (path dependency for now, see the TODO in
Cargo.toml).

Also: services/hyprland.rs::query_json used a bare Command::output() with
no timeout, so an unresponsive hyprctl (Hyprland wedged/reloading) could
block clients()/monitors()/layers() indefinitely — switched to
bread_utils::proc::run_json with a 3s cap.

Builds clean; all 8 existing tests pass.
2026-07-17 09:32:55 +08:00
Breadway
646587585c breadhelp: bump version to 0.2.1
All checks were successful
Build and publish package / package (push) Successful in 1m36s
2026-07-16 18:25:01 +08:00
Breadway
87a770a1b6 Add Cargo.lock for standalone build 2026-07-15 19:02:36 +08:00