danth / stylix

System-wide colorscheming and typography for NixOS
https://stylix.danth.me/
MIT License
1.16k stars 143 forks source link

Cursor is not animated in Hyprland #483

Closed tfkhdyt closed 2 months ago

tfkhdyt commented 3 months ago

I'm using apple-cursor in Hyprland, but the wait/loading cursor is not animated. Is it an expected behavior when using Stylix in Hyprland? My stylix config:

cursor = {
  package = pkgs.apple-cursor;
  name = "macOS-Monterey";
  size = 24;
};

It happens in other cursor theme as well, for example bibata-cursors

danth commented 3 months ago

This could be a limitation of Hyprland itself, or of the app you're using. I'm not aware of anything Stylix does which would prevent an animated cursor from working - we basically just pass the cursor package through unmodified and enable it:

https://github.com/danth/stylix/blob/0ef70039a6435446472182c8f8106947abfc523d/stylix/hm/cursor.nix#L10-L14

trueNAHO commented 3 months ago

Feel free to open an issue upstream.

tfkhdyt commented 2 months ago

This issue has been fixed after hyprland 0.42.0 update