Skip to content

Improve docs #12

Description

@murlakatamenka

The current state is like this (my yesterday's experience of trying to convert KDEs Breeze Light to hyprcursor):

  1. Open Hyprland wiki, Hyprcursor. It says go to github

  2. Open this repo. It says go read ./docs

  3. There are 3 files there. Okay, checking all of them

  4. One says go read stuff of hyprcursor-util (why isn't the binary just hyprcursor btw?). Mkay, I guess, somewhat helpful.

  5. Time to play with the binary. No -h/--help there. Okay, it's C++ after all, there are no CLI parsing libs and adding/mananaging dependencies is kinda pain in the arse (hi, cargo add clap --features derive).

In the end something like this works, but it's not user-freindly and is somewhat time consuming to get there:

hyprcursor-util --extract /usr/share/icons/breeze/<forgot-im-on-mobile-but-thatpath-is-important> -o /tmp/extracted-breeze-cursors

# edit theme meta
nvim /tmp/extracted.../manifest.hl

# optimize png, cause why not
oxipng -o max /tmp/extracted.../**.png

# actually create a hyprcursor theme
hyprcursor-util --create /tmp/extracted... -o my-supa-dupa-theme

mv my-supa-dupa-theme ~/.local/share/icons

hyprctl setcursor 'Theme name from manifest.hl' <cursor-size>

It's hard to expect any adoption if such basic scenario isn't trivial to find.

Can we add something like this to main README.md. I would carefully assume that this what an average Joe wants when he tries to switch to new cool hyprcursor. Converting an existing XCursor theme should be trivial, if no edits are needed (let's not talk about animations here). I didn't edit anything but name/description in the manifest file, as you can see.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions