aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/modules/monitors
AgeCommit message (Collapse)AuthorFilesLines
36 hoursmonitors: settings module, try live then keep or revertDanilo M.2-0/+180
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>
36 hoursmonitors: draw a scale being typed at 1Danilo M.2-2/+13
The page binds the canvas to size(), and an empty or partial scale gave Infinity or NaN and broke the fit. Apply is still held back until the scale is a positive number. Also marks the per-axis snap as a ceiling and checks a rotated scaled monitor and a two-monitor file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 hoursmonitors: pure helpers for the settings pageDanilo M.2-0/+170
The Lua for a monitor and for monitors.lua, logical size, edge snapping and the mode list, with the duplicates the ASUS reports collapsed and the current mode matched by nearest refresh (99.943 against 99.94). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>