Repository navigation
Give Tidal and Wheelie animated fastfetch scenes - #142
Merged
Merged
Conversation
Each theme ships a baked scene in fastfetch/: Wheelie's OMARCHY rides through a teal dust storm under its three prints and pops a wheelie; Tidal's omarchy floats on the horizon over its reflection while the tide washes the sand. Both are drawn in octant characters from colors.toml. The installer links ~/.config/fastfetch/config.jsonc to the current theme's config (unless the user has one), so fastfetch shows the scene's last frame and falls back to Omarchy's own for other themes. It also installs wheely-fetch, which animates the scene over fastfetch's logo. The last theme removed takes both along.
The installer aliases fastfetch to wheely-fetch in bash and fish when the fastfetch config link is ours; a user's own config gets neither. The last animated theme to leave removes both. In a terminal shorter than fastfetch's output the scene would land on the wrong rows, so the still frame stays.
wheely-fetch played the theme's config even after the user replaced the fastfetch config link with their own. It now plays only while the link still points at the theme's config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Each animated theme now ships a fastfetch scene, drawn from its own
colors.toml:OMARCHYrolls in through a teal dust storm on speed lines, dips, pops a wheelie and holds it while the dust settles.omarchyfloats on the horizon over a banded reflection, bobbing on a swell with shimmers and glints. The tide washes up the sand and pulls back.Scenes are 58×21 cells in octant characters (2×4 sub-pixels per cell), 60 fps, about 3.8 s, matching the info column's height.
How it's wired
themes/<theme>/fastfetch/:config.jsonc(info layout, last frame as the logo),logo.txt(last frame) andscene.txt(frames; after the first, only changed cells, about 0.5 MB each). Install copies the folder into the theme, and Omarchy copies it into the current theme on every switch.~/.config/fastfetch/config.jsoncto~/.local/state/omarchy/current/theme/fastfetch/config.jsonc, unless the user already has a config. Omarchy's About andfastfetchwith arguments show the scene's last frame. Other themes get Omarchy's own, because fastfetch skips a link that leads nowhere.themes/fastfetch-playis installed as~/.local/bin/wheely-fetchand plays the current theme's scene over fastfetch's logo. With the link ours, install also aliasesfastfetchto it in~/.bashrcand a fish function, so typingfastfetchanimates. Arguments, pipes, a terminal shorter than the output, and themes without a scene get plain fastfetch.wheely-fetch, the aliases and the link along.themes/fastfetch-bake <theme>regeneratesscene.txtandlogo.txt(needs ImageMagick with Pango, Adwaita Sans,omarchy-theme-color).Verified
tests/all.sh: all 278 checks pass, including the newtests/fastfetch-play.pyand the extendedwheelie-install.py(link and aliases, a user's own config kept without aliases, removal cleanup).tidal-lifecycle.py's install fixture now includesfastfetch/and runs install under a temporaryHOME.fastfetchplays all 228 frames in bash and fish; a 20-row terminal keeps the still frame.For review
~/.local/bin/fastfetchshim, since stock Omarchy puts~/.local/binafter/usr/binon PATH. The alias takes effect in new terminals.themes/fastfetch-bakeis 308 lines, over the ~200 guideline. It holds the shared octant renderer plus both scenes. Splitting per scene is possible.animated-themeline 18 (not touched here).