thiagowfx's avatar

¬ just serendipity 🍀 (not just serendipity)

Ghostty shaders

• 120 words • 1 min • updated

Ghostty supports shaders.

This repo hosts a collection of custom shaders readily available.

I integrated them with my .dotfiles via a submodule:

Ghostty config:

custom-shader = shaders/cursor_tail.glsl

The cursor_tail.glsl file was added with a symlink to the submodule.

The end result? See the demo in the repo README.

#power

Mitchell Hashimoto:

Okay, but this is all completely pointless,right? The most common use case is fun and that’s certainly not necessary (yeah, screw fun, right?). However, the primary practical use case for custom shaders is accessibility. Custom shaders are a really great way to specifically address certain forms of colorblindness, affect contrast or brightness to make things more readable, create “magnifying glass” effects, etc.

See also: Fun with Ghostty Shaders, l-o-o-s-e-d.net