README: the software-cursor workaround for garbled cursors on NVIDIA with Hyprland (13.1, #9)

This commit is contained in:
雷电芽衣 committed 2026-09-30 21:05:48 -04:00
1 parent 39dcbc7705
commit 802ae82f72
3 files changed
+21 -1

No files matched your search

+18
View File
@@ -63,6 +63,24 @@ Or add `github:ZacharyZhang-NY/OmaPhoto/<tag>`, a release tag, as a flake input
The packages themselves sit on the [releases page](https://github.com/ZacharyZhang-NY/OmaPhoto/releases).
### Garbled cursors on NVIDIA with Hyprland
On NVIDIA with Hyprland at a fractional scale, the cursors OmaPhoto draws itself, such as those of the selection tools, the wand, the eyedropper, zoom and moving layers, can show garbled or cut off. Theme cursors render correctly. The fault lies in the hardware cursor path (reported upstream as [Hyprland #16413](https://github.com/hyprwm/Hyprland/issues/16413)). Software cursors avoid it.
Current Hyprland and Omarchy read `~/.config/hypr/hyprland.lua`; Omarchy users can put the line in `~/.config/hypr/looknfeel.lua`:
```lua
hl.config({ cursor = { no_hardware_cursors = 1 } })
```
An older setup that reads `~/.config/hypr/hyprland.conf` takes:
```
cursor {
no_hardware_cursors = 1
}
```
## Build from source
The build runs in Docker, so the host needs only Docker: