Repository navigation
Releases
Releases · JPDoesDev/omarchy-magnifier
1.2.0
[1.2.0] - 2026-11-20
Added
- The lock screen comes up at 100% and the zoom comes back after the unlock (#6). The shell half of the plugin watches Hyprland for a session lock (Hyprland 0.56 has no lock event and Omarchy no lock hook) and calls the new
OmarchyMagnifier.screen_lock(true | false); frozen views leave the screen shader while locked, colour inversion stays. New settingslock_screen_reset(defaulttrue) andrestore_after_unlock(defaulttrue).omarchy-shell magnifier lockprints the state of the watch. - Zoom out, zoom off and invert work at the lock screen: their binds carry Hyprland's
lockedoption (#6). The keys that zoom in stay off there. wheel_every_notch(defaulttrue): sets Hyprland'sbinds:scroll_event_delayto 0 while a wheel chord is bound. With the default 300 ms delay, wheel notches arriving within the delay skip the binds and reach the focused window withCtrlstill held, so a quickCtrl + Alt + scrollalso zoomed a browser page (#7). Side effect: Omarchy'sSuper + scrollbinds now fire on every notch.omarchy-magnifier doctor [DIR]: saveshyprctl configerrors, the tail of Hyprland's log, the plugin's runtime files, the mouse lock rule file and the magnifier lines of the shell journal into one folder and prints a summary, before a reboot wipes the log (#4).OmarchyMagnifier.batch(fn): runsfnwith the screen shader rebuilt once at the end, for modules that chainleave_monitorandenter_monitor.
Changed
- Mouse lock
sync()no longer starts a process: Omarchy's reload guard is read from its state directory (/run/omarchy/hyprland-reload-guard) instead of throughio.popen, and the toggles directory is created only when missing instead of withmkdir -pon every write. The syncs run inside 50 ms timer callbacks, where two forks could trip Hyprland's Lua watchdog (#2). - A monitor jump rebuilds the screen shader once instead of twice (freeze of the monitor left, unfreeze of the target), halving the file writes and
hl.configcalls inside the 100 ms keybind budget (#2). install.shinserts the settings block above an existingrequire("hypr.desktops")line instead of appending it after, and warns when an existing block sits below that line, since that module needs the plugin loaded first (#5).- The command line tool says that a failed
hyprctl evalstays inhyprctl configerrorsuntil the next reload (#4).
Fixed
- No more red "Screen shader: Screen shader uses uniform 'time', which requires debug:damage_tracking to be switched off" banner while a monitor is frozen. The generated shader referenced
timeto keep Hyprland redrawing, which Hyprland (0.50 through 0.56.2 at least) answers with that banner on every shader install and after every reload, and which never forced redraws in the first place (only damage does). The shader no longer referencestime; insteaddebug:damage_trackingis set to 0 while any view is frozen, which is what the banner asks for and what keeps the frozen view updating, and put back to the value it had when the last view goes. A value the user already set to 0 is left alone. Found on 2026-11-03.
Documented
- Known limit and bug report 008: Hyprland 0.56.2 switches the zoomed pointer to software drawing once, with a global flag. When the monitor is destroyed and recreated while zoomed (display sleep that drops the DisplayPort link, a KVM switch, a mode change) the new monitor never gets that lock back, so the pointer is drawn small on the hardware plane and clicks land off its tip; zooming out and in does not recover. Workaround:
cursor:no_hardware_cursors = 1in the Hyprland config. - README troubleshooting: the yellow "Runtime error in lua" banner is never in
hyprctl configerrors, where its text actually is, and the stale eval errors (#4). New known limit forwheel_every_notch. - README known limit "GPU and battery while frozen" now names the
debug:damage_trackingswitch.
1.1.0
[1.1.0] - 2026-10-11
Added
- Keyboard-only zoom steps:
Ctrl + Alt + =zooms in andCtrl + Alt + -zooms out by one step, the same as the scroll wheel. New settingskeys.zoom_in_keyandkeys.zoom_out_key; set either tofalseto leave it unbound.
Documented
- Known limit: while the mouse is locked, Hyprland's directional monitor dispatchers (
l/r/u/d) find no neighbour across the gap, so Omarchy'sSuper + Shift + Alt + arrowsdo nothing. Found with two monitors on 2026-10-11.
Fixed
Super + pinchnow zooms continuously. The gesture was registered withoutmode = "live", so Hyprland treated it as a toggle topinch_zoom_level(1.0): a finished pinch did nothing at 100% and snapped any magnified screen back to 100%, and whether the fingers spread or squeezed made no difference. Found in the laptop live test on 2026-10-11.