Skip to content

fastfetch: take the image branch in ghostty, not just kitty - #608

Merged
neur0map merged 1 commit into
Ryoku-dev:land/prs-1027from
SourceAura:fix-fastfetch-ghostty-logo
Oct 27, 2026
Merged

neur0map merged 1 commit into
Ryoku-dev:land/prs-1027from
SourceAura:fix-fastfetch-ghostty-logo

Conversation

@SourceAura

Copy link
Copy Markdown
Contributor

The ryoku-fastfetch greeting wrapper only takes its image branch in
kitty (KITTY_WINDOW_ID or TERM=xterm-kitty). Ghostty implements the
same kitty graphics protocol, but the wrapper doesn't recognize it,
so in ghostty the greeting falls through to chafa, and to
--logo-type none where chafa isn't installed: no logo on terminal
open, even though running fastfetch by hand in the same window
draws the image.

This adds ghostty (TERM=xterm-ghostty, TERM_PROGRAM=ghostty) to
the image branch. One condition, one file; kitty and other
terminals behave exactly as before.

Checked with a stub fastfetch echoing its arguments: ghostty goes
from --logo-type none to --pipe false; kitty stays on --pipe
false; a plain xterm stays on --logo-type none.

@neur0map
neur0map changed the base branch from main to land/prs-1027 October 27, 2026 21:32
@neur0map
neur0map merged commit 57f28ca into Ryoku-dev:land/prs-1027 Oct 27, 2026
12 checks passed
@neur0map

Copy link
Copy Markdown
Member

Thanks for the work here, this ships in the next v1 release.

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.

3 participants