Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to set cursor #6

Open
3 tasks done
s1n7ax opened this issue Aug 14, 2024 · 4 comments
Open
3 tasks done

failed to set cursor #6

s1n7ax opened this issue Aug 14, 2024 · 4 comments

Comments

@s1n7ax
Copy link

s1n7ax commented Aug 14, 2024

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

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@ndom91
Copy link
Owner

ndom91 commented Aug 15, 2024

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 🤔

@jennydaman
Copy link

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
Copy link
Owner

ndom91 commented Aug 28, 2024

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

@ndom91
Copy link
Owner

ndom91 commented Aug 28, 2024

Just stumbled upon this commit on the Hyprcursor repo, looks like they do take $XDG_DATA_DIRS into account: hyprwm/hyprcursor@5a95d85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants