Share ~/.config/hypr/monitors.json with the BOS Display panel
Some checks failed
dev release / build (push) Failing after 0s
Some checks failed
dev release / build (push) Failing after 0s
Read the file as the initial layout on start. After a successful hyprctl apply (including applying a named profile), write pretty JSON so Hyprland and bos-settings stay in sync. Profiles remain named snapshots under ~/.config/breadmon/profiles/. Pin bread-utils to bread-ecosystem v0.7.2.
This commit is contained in:
parent
8d43a03d44
commit
d98b5b4fad
15 changed files with 749 additions and 168 deletions
|
|
@ -14,9 +14,10 @@ connection (`BreadClient::emit` never blocks or errors the caller).
|
|||
|
||||
This event is about breadmon's own live apply (`hyprctl eval
|
||||
'hl.monitor({...})'` on [BOS](https://git.breadway.dev/breadway/bos)-patched
|
||||
Hyprland). It is **not** fired by the `bos-settings` Display panel, which
|
||||
writes `~/.config/hypr/monitors.json` and is a separate store breadmon
|
||||
never reads or writes. Vanilla/upstream Hyprland has no `eval` request
|
||||
Hyprland). After that apply succeeds, breadmon also writes
|
||||
`~/.config/hypr/monitors.json` (the store shared with the `bos-settings`
|
||||
Display panel). The event is **not** fired by Display itself — that GUI
|
||||
only edits the JSON. Vanilla/upstream Hyprland has no `eval` request
|
||||
and no `hl.monitor()`, so apply fails there and this event is not
|
||||
published.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue