aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/monitors/MonitorsPage.qml
AgeCommit message (Collapse)AuthorFilesLines
34 hoursmonitors: keep the drag, freeze the cards while pendingDanilo M.1-1/+10
The page's ScrollView took a vertical drag and cancelled the MouseArea, leaving the monitor drawn at its offset with nothing written; it now prevents stealing and clears the offset on cancel. A click without movement no longer snaps. The cards are disabled while an Apply waits for Keep, which writes the draft and so must not write untried edits. The mode list comes from orig, which set() leaves alone, so an edit to another field does not hand the ComboBox a new model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 hoursmonitors: the layout canvas and the per-monitor cardsDanilo M.1-3/+247
Monitors drawn at logical size, fitted to the canvas; a drag moves one by an offset and on release snaps it within 64 logical px of the other's edges and writes an exact position. The cards set mode from the deduplicated list, scale (read on every change, since a click on Apply does not end editing), rotation and flip, VRR, and auto or exact position. Leaving the page with an Apply unanswered reverts it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 hoursmonitors: settings module, try live then keep or revertDanilo M.1-0/+23
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>