| Age | Commit message (Collapse) | Author | Files | Lines |
|
Any configreloaded reread the draft, so saving on the Options or
Keyboard shortcuts page silently dropped unsaved monitor edits. The
handler now goes through refresh(), which skips a dirty draft, and
revert() returns the draft to orig itself so its own reload still
rereads. The spec now says one eval per monitor and the reload after a
refusal, as built.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
"saved" now waits for FileView's saved, and a failed write shows its
error: the change is live but the next reload would bring the old file
back. Keep sets orig from the draft itself rather than relying on the
autoreload's read, apply() clears a skipRead a refusal's reload never
consumed, and an unreadable hyprctl reply says so instead of showing an
empty page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
|
Apply evals each monitor's hl.monitor line, one call each because eval
wraps its argument in a return. Keep writes sections/monitors.lua whole;
Revert or 15s without an answer is hyprctl reload, which reapplies the
untouched file. A refusal also reloads, since an earlier monitor's eval
may have gone through.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|