OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
display-monitors medium common DISPUTE

Stop the display scale snapping straight back after you change it

omarchyhyprlandwayland
AUDITED Audited against its sources and confirmed accurate.

Symptom

You change the display scale (Super+Ctrl+D panel, or omarchy hyprland monitor scaling 1.25) and the screen resizes for about a tenth of a second and then snaps straight back to the old scale. It is impossible to make the change stick, and there is no error anywhere.

Cause

omarchy-hyprland-monitor-scaling applies the scale at runtime via hyprctl eval, then persists it by sed-rewriting only the catch-all variables omarchy_monitor_scale / omarchy_gdk_scale in monitors.lua. Hyprland auto-reloads on any config-file write (~30 ms later). If your monitors.lua also has an explicit per-output rule such as hl.monitor({ output = "DP-2", ..., scale = 1 }), that rule wins over the catch-all on reload, so the reload undoes the tool's own runtime change.

Fix

Edit the scale in the explicit rule instead of using the tool. In ~/.config/hypr/monitors.lua:


-- before
hl.monitor({ output = "DP-2", mode = "2560x1440@165", position = "1920x0", scale = 1 })
-- after
hl.monitor({ output = "DP-2", mode = "2560x1440@165", position = "1920x0", scale = 1.25 })

Then hyprctl reload.

Alternatively, delete the per-output rules and keep only Omarchy's stock catch-all so the helper's persistence path is the one the reload reads:


local omarchy_monitor_scale = 1.25
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = omarchy_monitor_scale })
local omarchy_gdk_scale = 1
hl.env("GDK_SCALE", tostring(omarchy_gdk_scale))

Verify

hyprctl monitors -j | jq '.[] | {name, scale}' still reports the new scale 5 seconds later and after hyprctl reload.

Sources

monitor-scale-reverts-instantly-per-monitor-rule