Catalog PyPI
PACKAGE EXPLORERView in registry

accurse

PyPI

Atomsky's cursor packager

Versions collected1
Direct dependencies1From release 0.1.0
Last observed20 Oct, 18:03 UTC

README

Version 0.1.0 documentation

accurse

Atomsky's cursor packager

Why?

Theming cursors for different standards is a curse. accurse alleviates the curse by allowing you to package hyprcursor and xcursor in a manageable way.

Installation

accurse is a python package. You can install it using pip install accurse. I'd recommend cloning this repository and installing the package locally, if you want to make use of the assets. uv is a great tool for such a use case.

The package needs the commands rsvg-convert and xcursorgen to be in the PATH. If you are on Arch, make sure the following packages are installed:

  • librsvg
  • xorg-xcursorgen

Usage

accurse expects the path to a metadata.toml as an argument. This metadata file describes the cursor shapes, their aliases and hotspots. The metadata specification is provided in the next section. If you have an assets directory, the metadata.toml file should be in that directory. For example, if there are SVG cursor files in the assets/Bibata directory (or its subdirectories) along with metadata.toml, the following command creates packaged Bibata cursors (both xcursor and hycursor) in assets/AC-Bibata.

accurse assets/Bibata/metadata.toml

You can then move the AC-Bibata directory to an appropriate location, such as ~/.local/share/icons, to be able to use the packaged cursors. Afterward, change the cursor theme and size in different config files. Here's my personal script to set the cursor theme and size for GTK and Hyprland. A reboot of the WM is sometimes necessary because some apps use environment variables to set cursors.

Metadata

The templates directory contains an example metadata.toml. Skim through that file first as it's pretty self-explanatory. The following table specifies what accurse looks for in the metadata file.

[theme]

FieldTypeDescription
namestringname of the theme
descriptionstringdescription of the theme
versionstringversion of the theme
authorstringauthor of the theme

[config]

FieldTypeDescription
shape_sizenumbersize of the (square) SVGs
x_hotspotnumberdefault hotspot x-coordinate
y_hotspotnumberdefault hotspot y-coordinate
old_substrlist of stringstarget substrings
new_substrlist of stringsreplacement substrings
mirrorbooleanmirror shapes with flip=1 flag
xcur_sizeslist of numberscompile xcursors of these sizes
cleanuplist of stringsdelete "hycur" or "xcur" build files

[cursors.shape]

FieldTypeDescription
x_hotspotnumberhotspot x-coordinate
y_hotspotnumberhotspot y-coordinate
symlinkslist of stringsshape aliases
animatedbooleanwhether it's animated
anim_delaynumberdelay between frames (ms)
flipsbooleanwhether to flip shape if mirror=1

License

Copyright (C) 2025 ATM Jahid Hasan
accurse is released under the GNU AGPL.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.015 Feb 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
atm-jahid/accurse

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:03 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:fa4108d6097dda70e2e42cf59829d4a2fcfab87b2f346e869b3aa60e0dbd6eb4