Skip to content

Fix .ani cursor support, preview rendering, and hyprcursor output - #3

Open
Crymfox wants to merge 5 commits into
Sevilze:mainfrom
Crymfox:fix/ani-cursor-support-and-theme-output
Open

Fix .ani cursor support, preview rendering, and hyprcursor output#3
Crymfox wants to merge 5 commits into
Sevilze:mainfrom
Crymfox:fix/ani-cursor-support-and-theme-output

Conversation

@Crymfox

@Crymfox Crymfox commented Jun 16, 2026

Copy link
Copy Markdown
  • Fix preview not showing for .ani cursors (frame PNGs saved to cache)
  • Fix empty cursors/hyprcursors directory in output (prefix matching for file names)
  • Fix preview flickering when scrolling between cursors
  • Fix cursor size mismatch between xcursor and hyprcursor outputs
  • Fix hyprcursor size switching by adding required nominal_size to meta.hl
  • Add X11 cursor theme metadata for XWayland compatibility
  • Auto-sync runner dirs on cursor folder load for better UX

Crymfox added 5 commits June 16, 2026 20:17
- Save .ani frame images as PNGs to a temp cache dir so the hotspot
editor preview can display them
- Auto-sync runner input/output dirs on cursor folder load (no manual
"i"/"o" needed)
- Add explicit error messages when pipeline starts with missing dirs
- Fix cursor loading fallback for .ani dirs (.ok().filter(!empty))
- build_from_xcur_files now does prefix matching (e.g., Normal_32-48-64
matches Normal) instead of requiring exact file names
- Removed StatefulProtocol cache that caused stale rendering state when
scrolling between cursors
- Protocols are now created fresh each render from cached base images
- Added preload_variant to pre-cache base images for smooth animation
- Resize images to match their nominal size in to_x11() so xcursor and
hyprcursor outputs have consistent sizing
- Add nominal_size = 1.0 to meta.hl (required by hyprcursor spec)
- Remove invalid sizes field from manifest.hl
- Add Size=48 to index.theme and [Xcursor] section to cursor.theme for
X11 compatibility

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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

Successfully merging this pull request may close these issues.

1 participant