Dotfiles/desktopenvs/hyprlua/hypr
Amir Alexander Abdelbaki 6194b5c271 fix(hyprlua): drop racy cw+ccw autostart rotation workaround
The double-rotate on every Hyprland start existed to fix monitor scale
getting corrupted by rotation. Verified live (Hyprland 0.55.4): scale
stays exactly pinned across a transform change as long as it's set
explicitly (monitors.lua already does scale=1.0, not "auto"), so the
workaround is no longer needed upstream.

It was also a source of a real race: unified-rotate.sh reads current
transform via `hyprctl monitors -j`, and the fixed 0.3s gap between the
two invocations isn't guaranteed long enough for the first rotate to
commit before the second reads state — especially with a dozen other
autostart commands firing concurrently in the same block. A lost race
leaves the monitor (and touchscreen, which unified-rotate.sh also
retargets) transform mismatched after boot. Root-caused this while
investigating why a QEMU test VM's monitor stayed stuck at transform:1
after every fresh boot.

unified-rotate.sh itself is untouched — still used by the manual
rotate buttons on the touch bar.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TLz6HWsXCwzQ97LrLt2em6
2026-07-09 15:48:23 +02:00
..
deprecated feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
layouts feat(hyprlua/columns): center-focused toggle, mirroring scrolling's fit method 2026-07-08 13:35:47 +02:00
usr fix(hyprlua): drop racy cw+ccw autostart rotation workaround 2026-07-09 15:48:23 +02:00
application-style.conf chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
hypridle.conf chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
hyprland.lua feat(hyprlua/columns): resizable+scrolling columns, window parking, reload-safe 2026-07-07 19:49:28 +02:00
hyprlock-backgrounds.conf feat(wallpaper): sync selected wallpaper to hyprlock per monitor 2026-05-31 21:54:19 +02:00
hyprlock.conf chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
hyprpaper.conf refactor(hyprlua): move hypr-usr/ into hypr/usr/ and wire sysupdate sync 2026-06-11 15:46:01 +02:00
hyprtoolkit.conf feat: add hyprlua config set and migrate hyprland envvars to dedicated file 2026-05-19 08:50:23 +02:00
monitorhandler.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00