Skip to content

About

Full-screen terminal glyph-field animation (kaleidoscope, mirrored beads, bloom) with a live tuner

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

glyphfield

A full-screen terminal animation: a grid of glyphs painted by a moving geometric pattern. It was built as a screensaver for Omarchy, but it runs in any truecolor terminal.

It's a single Python file with no dependencies, and needs Python 3.11 or newer.

Styles

kaleido mirror bloom
kaleido style mirror style bloom style
  • kaleido: a swirling kaleidoscope. Colored bands and glyph weights come from interference patterns folded into mirrored sectors.
  • mirror: works like a real kaleidoscope. Small "beads", each a cluster of identical glyphs in one color and a random pixel pattern, are born at the center. They stream outward and grow toward the corners, and every bead is mirrored four ways (eight with --folds 8).
  • bloom: rings breathing out from the center, with spiral dark ripples.

The layout adapts to the terminal's shape, so portrait and landscape displays both fill the screen. The animation clock speeds up and slows down at irrational rates, so the pattern never repeats exactly. Use --steady for constant speed and an exact loop.

Usage

glyphfield                  # style and settings from the config file
glyphfield --style mirror   # pick a style
glyphfield --tune           # live settings overlay

Any key exits, except in --tune, where q quits.

Tuner

glyphfield --tune runs the animation full-size with a settings panel in the top-left corner:

Key Action
↑ ↓ pick a setting
← → adjust it ([ ] for ×5)
tab or 1 2 3 switch style
space toggle on/off settings
r / R reset one setting / the whole style
s save to the config file
h hide the panel
q quit

Mirror exposes the bead count, bead size, glyphs per bead, symmetry, ring spacing, center motif size and per-color weights.

Config

Settings live in ~/.config/glyphfield/config.toml, with one table per style and a top-level style. The tuner writes this file. Command-line flags override it.

Install

git clone https://github.com/gig3m/glyphfield
cd glyphfield
./install.sh              # Omarchy: installs glyphfield and makes it the screensaver (kaleido)
./install.sh mirror       # same, with another style
./install.sh --no-screensaver   # any system: just the glyphfield command

Commands are symlinked into ~/.local/bin, so a git pull updates them in place. ./uninstall.sh puts everything back.

How the Omarchy screensaver hookup works

The installer uses whichever mechanism your Omarchy supports:

  • idle.screensaverCommand: if Omarchy's idle service reads this shell.json key (proposed upstream in omacom/omarchy#10483), the installer just sets it to glyphfield-launch-screensaver. That's one config line with nothing cloned.
  • Idle-service clone: older Omarchy hardcodes omarchy-launch-screensaver in the idle service. /usr/share/omarchy/bin also comes before ~/.local/bin on the path, so replacing that script has no effect. The installer therefore follows omarchy-matrix-screensaver: it runs omarchy plugin clone omarchy.idle, swaps that one command in your <user>.idle clone, and enables the clone in place of the stock service.

In both cases the installer:

  • Restarts the Omarchy shell (omarchy-restart-shell) so the switch takes effect. The idle service stays loaded across plugin reloads, and changing idle.* settings stops its monitor until a restart.
  • Installs glyphfield-launch-screensaver, which opens one terminal per monitor like Omarchy's launcher. It uses the same org.omarchy.screensaver window class, so the idle service still tracks the screensaver.
  • Installs glyphfield-screensaver, which runs glyphfield with Omarchy's exit rules: any key, or focus leaving the window, closes the screensaver on every monitor.
  • Adds a post-update hook. While you're on the clone, it re-copies Omarchy's idle service after each update and re-applies the swap, and it notifies you if Omarchy changes how the screensaver starts. Once an update adds idle.screensaverCommand, the hook switches you to it and parks the clone.

The screensaver style lives in ~/.config/glyphfield/screensaver. Its look is whatever you last saved from glyphfield --tune. Empty that file to go back to Omarchy's stock screensaver without uninstalling.

License

MIT

About

Full-screen terminal glyph-field animation (kaleidoscope, mirrored beads, bloom) with a live tuner

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages