6ba0e9c234336794c68db38b989d629720daa140
Hyprland can report a scale set to 3 as something like 3.0000000000000004. The previous directional comparison treated that as above the 3 preset, so Super+Alt+Slash (scale down) would stay at 3 instead of reaching 2. Snap the reported scale to the nearest preset first, then step up/down. Add a regression test for the floating-point case.
Omarchy
Omarchy is a beautiful, modern & opinionated Linux distribution by DHH.
Read more at omarchy.org.
License
Omarchy is released under the MIT License.
Languages
Shell
57.3%
QML
31.2%
JavaScript
4.1%
Python
2.9%
Go Template
2.5%
Other
2%