mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-12-22 10:19:48 +01:00
c18572a92e
hyprcursor-util/src/main.cpp:260:19: error: implicit instantiation of undefined template 'std::basic_ofstream<char>' 260 | std::ofstream manifest(out + "/manifest.hl", std::ios::trunc); | ^ /usr/include/c++/v1/__fwd/fstream.h:26:28: note: template is declared here 26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream; | ^ hyprcursor-util/src/main.cpp:292:41: error: implicit instantiation of undefined template 'std::basic_ifstream<char>' 292 | std::ifstream xconfig("/tmp/hyprcursor-util/" + xcursor.path().stem().string() + ".conf"); | ^ /usr/include/c++/v1/__fwd/fstream.h:24:28: note: template is declared here 24 | class _LIBCPP_TEMPLATE_VIS basic_ifstream; | ^ hyprcursor-util/src/main.cpp:370:23: error: implicit instantiation of undefined template 'std::basic_ofstream<char>' 370 | std::ofstream meta(CURSORDIR + "/meta.hl", std::ios::trunc); | ^ /usr/include/c++/v1/__fwd/fstream.h:26:28: note: template is declared here 26 | class _LIBCPP_TEMPLATE_VIS basic_ofstream; | ^ |
||
---|---|---|
.. | ||
src | ||
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. For safety reasons, do not use this on versions below 0.1.1 as it will
nuke the specified directory without asking.
Since v0.1.2, this directory is the parent, the theme will be written to a subdirectory in it called $ACTION_$NAME
.
Flags
--resize [mode]
- for extract
: specify a default resize algorithm for shapes. Default is none
.