Commit Graph

103 Commits

Author SHA1 Message Date
Ikalco a5c0d57325
core: only alloc as much as needed when reading in cursor images (#51) 2024-07-04 17:59:59 +02:00
Vaxry 66d5b46ff9
README: add standards link 2024-06-15 13:24:35 +02:00
Vaxry dd3a853c82 README: add toml++ to dep list 2024-06-14 14:32:02 +02:00
Vaxry c50b2f0f1d ci: fix missing dep 2024-06-14 14:31:45 +02:00
Vaxry d5f4a6c708 docs: mention timeouts to be > 0 2024-06-13 12:11:39 +02:00
Visual-Dawg 9e27a2c2ce
README: add wiki (#45) 2024-05-31 21:55:20 +03:00
Vaxry 57298fc4f1 cmake: bump ver to 0.1.9 2024-05-24 20:46:51 +02:00
Ikalco 27ca640abe
core/API: add option to not use default fallbacks (env and first available) (#43)
* add option to not use default fallbacks (env and first available)
2024-05-21 23:45:11 +02:00
Vaxry 7c3aa03dff shapes: fix nearest size finding for png cursors
fixes #14
2024-05-15 17:50:17 +01:00
Vaxry dfba774650 cmake: bump ver to 0.1.8 2024-05-15 17:50:17 +01:00
Daniel Horton 4a32d0cf25
README: Fixed getconf command in build instructions (#42)
getconf NPROCESSORS_CONF isn't a valid command. The correct command is getconf _NPROCESSORS_CONF.
2024-05-14 16:14:13 +01:00
Eric Leblond cab4746180
zip: fix build for some distros (#37) (#38)
libzip 1.10.1 is not available on some distributions. This patch
introduces a workaround to fix the build instead of jumping to
1.10.1 release.
2024-04-20 12:23:33 +01:00
Mihai Fufezan 0a53b9957f
flake.lock: update 2024-04-15 23:54:23 +03:00
Vaxry c38dcf160d util: fix printing overrides
ref #36
2024-04-15 14:21:28 +01:00
Vaxry 1f4c960cf1 cmake: require libzip>=1.10.1
fixes #35
2024-04-14 19:33:07 +01:00
SoSeDiK 92af141a01
util: Minor cleanup (#34)
Avoid double // in paths
Replace magic 0 value with libzip's ZIP_LENGTH_TO_END
Correct png to image (can be svg as well)
2024-04-12 11:55:59 +01:00
SoSeDiK d41e8ac8d1
zip: Properly report error on zip_close (#33) 2024-04-12 11:54:39 +01:00
SoSeDiK 178717746d
lib: Add validation for cursor file names and propagate the error from parsing HL cursor (#32)
* Validate cursor file names

* Propagate errors from parsing HL cursor

* Validate cursor directory names
2024-04-12 01:01:33 +01:00
SoSeDiK f6a6322a03
lib: Count cursor-less themes as invalid (#31) 2024-04-10 17:29:25 +01:00
Vaxry 6742e9d3e2 props: bump ver to 0.1.7 2024-04-09 16:30:19 +01:00
Jin Liu e5e3d140a4
docs: specify that pixel coordinates of hotspot are rounded to the nearest (#28)
Since we now have a raw API, we shall specify how this is calculated, so
users of the raw API can do the same in their rendering code.
2024-04-09 02:29:44 +01:00
Vaxry 17ebb7fff0 lib: add missing header
ref #30
2024-04-08 23:31:11 +01:00
Vaxry bd56398f19 lib: round hotspots in getShapes
ref #28
2024-04-08 18:23:14 +01:00
Vaxry af4ce3953d lib: minor manifest reading fixes
fixes #29
2024-04-08 18:20:10 +01:00
Vaxry 65507c093f lib: fix missing overrides
ref #27
2024-04-08 11:46:28 +01:00
Vaxry 033416cedc util: pack meta with the correct extension
fixes #25
2024-04-08 10:23:45 +01:00
Vaxry 95cd9376e8 lib: fix missing / in path 2024-04-08 10:21:12 +01:00
Vaxry 818d8c4b69 cmake: bump ver to 0.1.6 2024-04-06 21:18:01 +01:00
Vaxry 7561459770
lib: Added a raw data API (#23)
* raw data API

* add missing type arg

* tests: better stuff
2024-04-06 21:16:55 +01:00
Mihai Fufezan 981b661782
CI: add tomlplusplus 2024-04-05 20:50:58 +03:00
Mihai Fufezan 08fbf37b1c
Merge pull request #22 from fred21O4/patch-1
fix missing follow in flake.nix
2024-04-05 20:45:35 +03:00
fred21O4 7266c021cd
fix missing follow in flake.nix
this causes an extra instance of the systems flake, and makes it very difficult to overide in upstream flakes
2024-04-05 11:00:30 +13:00
Mihai Fufezan 6b1dc5e15a
Nix: add tomlplusplus dep 2024-04-04 20:01:46 +03:00
Vaxry d780013ffa CMake: move hyprcursor-util to parent 2024-04-04 17:40:42 +01:00
Vaxry aaccfdc83d docs: add toml instructions 2024-04-04 16:27:39 +01:00
Vaxry 4781252877 tests: fixup hardcoded themes as always 2024-04-04 16:22:14 +01:00
Vaxry f4ea0297a0 core: Add support for toml manifests and metas
ref #20
2024-04-04 16:21:38 +01:00
Mihai Fufezan be7e9f93cf
Nix: patch in search dir 2024-04-04 08:48:42 +03:00
Maximilian Seidler 752cc44779
docs: mention aspect ratio of cursors (#18) 2024-04-02 15:35:03 +01:00
Vaxry 73721de9ae lib: fixup path accessibility lookups 2024-04-02 15:28:31 +01:00
Vaxry d3876f3477 lib: improve access checks on themes 2024-03-26 15:26:26 +00:00
Vaxry 1a1fcfb58d lib: fixup theme name matching 2024-03-25 11:54:29 +00:00
Vaxry 44d46e45a1 tests: comment the functionality 2024-03-25 01:45:46 +00:00
Vaxry 75751ed957 headers: fixup since vers 2024-03-24 20:50:26 +00:00
Vaxry 22a4195557 lib: add user-defined logging 2024-03-24 20:37:31 +00:00
Vaxry f870f0f980 cmake: bump ver to 0.1.5 2024-03-24 03:23:53 +00:00
Vaxry 7bd0d55aa2 lib: set size to 0 for svg images
ref #13
2024-03-23 01:04:53 +00:00
Vaxry 6a92473237 lib: accept theme names for lookup 2024-03-21 15:42:22 +00:00
Zach DeCook 8a874fc49c
tests: Prevent tests from crashing when manager is invalid (#9) 2024-03-21 15:21:43 +00:00
Rudolchr e3694ecf2f
cmake: Fix clang build by adjusting passed flags (#11)
* Just add -std=gnu++2b to clang++ or clang will error out

* Assuming it was meant to silence the __cpp_concepts warning that appears by passing it via flags
2024-03-18 16:48:04 +00:00