ndom91 / rose-pine-hyprcursor

BreezeX RosePine for Hyprcursor
GNU General Public License v3.0
45 stars 1 forks source link

failed to set cursor #6

Open s1n7ax opened 1 month ago

s1n7ax commented 1 month ago

Describe the bug

I have followed the instructions in the read me on NixOS but in a home-manager configuration. I have following to install the package and I can see the installed package

home.packages = [ inputs.rose-pine-hyprcursor.packages.${pkgs.system}.default ];

image

XDG_DATA_DIR contains the correct path as well.

image

However setting it does not work

image

When I move the theme to ~/.local/share/icons it works. Similarly I have installed vanilla-dmz package and it seems to link the icon to ~/.local/share/icons automatically

image

Though I'm not quite sure whether this is an issue in my home-manager config or hyprland or this theme.

Reproduction

-

System Info

-

Used Package Manager

npm

Validations

ndom91 commented 1 month ago

Interesting, I wasn't able to reproduce unfortunately.

I don't have rose-pine-hyprcursor/ available under ~/.local/share/icons/, but I can still successfully setcursor with the hyprctl CLI :thinking:

jennydaman commented 2 weeks ago

Hey, coming across this issue now. Not sure if what I did counts as a workaround or not (is hyprland supposed to respect $XDG_DATA_DIR, or is it hard-coded to look in ~/.local/share/icons and ~/.icons?)

Here's what I did: https://gitlab.com/jennydaman/hm-jia/-/commit/c6523de669c65419fcb2dbab678e209f5e43e493

xdg.dataFile."icons/rose-pine-hyprcursor".source = "${inputs.rose-pine-hyprcursor.packages.${pkgs.system}.default}/share/icons/rose-pine-hyprcursor";
ndom91 commented 2 weeks ago

@jennydaman I'd definitely count that as a workaround haha, but as they say - if it works, then its not dumb!

ndom91 commented 2 weeks ago

Just stumbled upon this commit on the Hyprcursor repo, looks like they do take $XDG_DATA_DIRS into account: https://github.com/hyprwm/hyprcursor/commit/5a95d8512b3eda15a92e8cb932aa4049ec73dd55