Skip to content

alxndr13/ghostty-shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Ghostty Shaders

This is a collection of Ghostty shaders which I adapted for my personal use.

Adaptive Cursor Trail Blaze

File: ./adaptive-cursor-trail-blaze.glsl

A Ghostty shader that creates a cursor trail effect with adaptive intensity based on movement distance.

Key Differences from Original

  • Distance-based intensity scaling: Trail effect adapts to cursor movement distance - subtle trails for small movements (1-2 characters), full effect for larger movements
  • Adaptive thresholds: Uses MIN_DISTANCE (0.02) and MAX_DISTANCE (0.08) to scale trail intensity from 20% to 100%
  • Color scheme: Uses Catppuccin Frappe Blue instead of Peach for the trail color

This prevents overwhelming visual effects during normal typing while maintaining the full blaze effect for longer cursor movements.

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Languages