aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/monitors/MonitorsModule.qml
AgeCommit message (Collapse)AuthorFilesLines
29 hoursmonitors: leave virtual outputs such as deck-it's TAB aloneDanilo M.1-2/+3
deck-it creates a headless TAB output at runtime and places it itself, centred under DP-1. Listed on the Monitors page, Apply would reposition it and Keep would pin it into monitors.lua, where it would outlive the tablet. Mon.js's UNMANAGED drops it from the page entirely. The list is fixed: deck-it's display.name can rename the output, and a renamed one shows up here again (a ponytail ceiling, noted in Mon.js). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 daysmonitors: keep unsaved edits across another page's reloadDanilo M.1-1/+4
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>
12 daysmonitors: report Keep's write, resync without the autoreloadDanilo M.1-2/+8
"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>
12 daysmonitors: settings module, try live then keep or revertDanilo M.1-0/+157
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>