Migrate socket2 path resolution to bread-utils::hypr

hyprland_socket2_path() duplicated the same HYPRLAND_INSTANCE_SIGNATURE +
XDG_RUNTIME_DIR resolution breadbox and breadclip had for socket1 — now
shared via bread_utils::hypr::socket_path (path dependency for now, see
the TODO in Cargo.toml).

Builds and all 16 existing tests pass.
This commit is contained in:
Breadway 2026-07-17 09:26:00 +08:00
parent ddbc9e63d3
commit 13863836bc
3 changed files with 13 additions and 7 deletions

View file

@ -19,6 +19,8 @@ toml = "0.8"
anyhow = "1"
dirs = "5"
futures = "0.3"
# TODO(owner): switch to tag-pinned git dependency once bread-utils is merged and tagged, matching the bread-theme pattern
bread-utils = { path = "../bread-ecosystem-fix-worktree/bread-utils" }
[profile.release]
lto = "thin"