hyprcursor/hyprcursor-util
Vaxry 31aff6642a util: refuse deleting directories that do not look like themes 2024-03-09 23:03:28 +00:00
..
src util: refuse deleting directories that do not look like themes 2024-03-09 23:03:28 +00:00
CMakeLists.txt Initial commit: very basics 2024-03-07 03:19:38 +00:00
README.md util: add xcur2png to deps 2024-03-08 17:20:05 +00:00
internalSharedTypes.hpp Initial commit: very basics 2024-03-07 03:19:38 +00:00

README.md

hyprcursor-util

A utility to compile, pack, unpack, etc, hyprcursor and xcursor themes.

Runtime deps

  • xcur2png

States

Cursor themes can be in 3 states:

  • compiled hyprcursor - these can be used by apps / compositors.
  • compiled xcursor - these can be used by xcursor
  • working state - an easy to navigate mode where every cursor is a png / svg, and all the meta is in files.

Commands

--create | -c [path] -> create a compiled hyprcursor theme from a working state

--extract | -x [path] -> extract an xcursor theme into a working state

both commands support --output | -o to specify an output directory. This directory will be fully overwritten, and by default is ./theme and ./extracted respectively.

Flags

--resize [mode] - for extract: specify a default resize algorithm for shapes. Default is none.