A read-only mirror of https://github.com/hyprwm/hyprcursor
Find a file
2024-03-07 17:52:38 +00:00
hyprcursor-util all: add support for animated cursors 2024-03-07 16:21:04 +00:00
include/hyprcursor core: formatting and small fixes 2024-03-07 17:51:14 +00:00
libhyprcursor core: formatting and small fixes 2024-03-07 17:51:14 +00:00
tests lib: header fixes 2024-03-07 16:36:26 +00:00
.clang-format Initial commit: very basics 2024-03-07 03:19:38 +00:00
.gitignore Initial commit: very basics 2024-03-07 03:19:38 +00:00
CMakeLists.txt lib: header fixes 2024-03-07 16:36:26 +00:00
hyprcursor.pc.in Initial commit: very basics 2024-03-07 03:19:38 +00:00
LICENSE Initial commit 2024-03-06 18:57:56 +00:00
README.md README: update todos 2024-03-07 17:52:38 +00:00

hyprcursor

The hyprland cursor format, library and utilities.

Please note it's in very early development.

Why?

XCursor sucks, and we still use it today.

  • Scaling of XCursors is horrible
  • XCursor does not support vector cursors
  • XCursor is ridiculously space-inefficient

Hyprcursor fixes all three. It's an efficient cursor theme format that doesn't suck as much.

Notable advantages over XCursor

  • Automatic scaling according to a configurable, per-cursor method.
  • Support for SVG cursors (soon, see todo)
  • Way more space-efficient. As an example, Bibata-XCursor is 44.1MB, while it's 6.6MB in hyprcursor.

Tools

hyprcursor-util

Utility for creating hyprcursor themes. See its readme in hyprcursor-util/

libhyprcursor

The library to use for implementing hyprcursors in your compositor or app.

It provides C and C++ bindings.

TODO

Library:

  • Support animated cursors
  • Support SVG cursors

Util:

  • Support compiling a theme with X
  • Support decompiling animated cursors