-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] animated logos #1423
Comments
{
"logo": {
"padding": {
"top": 2
},
"source": "/path/to/pikachu.gif",
"type": "iterm",
"width": 20
}
} 2024-12-02.08.53.11.mov |
I assume the program supports the animation by drawing every frame manually. This method doesn't work with fastfetch because fastfetch exits immediately after all modules are printed. |
I tested your script and confirmed your script keeps running if I enables animation mode. You may take a look at the iterm image protocol which provides much higher resolution and is much simpler to use. |
I didn't think to check |
The script actually uses chafa or timg, both of which have support for iterm. I'm testing with a limited character set right now. |
No plan. Fastfetch is designed to exit as fast as possible. Redrawing is not an option here.
chafa is not an image protocol. It just print regular texts. |
also side note, in the config file could I list an arbritary command that outputs a filename? i.e. say if I had a |
Does kitty require redrawing? I thought it was more similar to iterm in that regards? |
You may use command substitution. For example See also https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options |
Kitty has its own animation protocol that I didn't investigate. I tested this command with 0.37.0 and it works for me
|
Be sure to read FAQ before submitting a new issue.
Wanted features:
Right now we support static logos of various formats. It would be wonderful to support animated logos such as
.gif
files.Motivation:
The motivation here is that I have a shell script, pokeshell, which supports the output of both static and animated images to the terminal via
chafa
. I can pipe the static output just fine withpokeshell pikachu | fastfetch --file-raw -
, butpokeshell -a pikachu | fastfetch --file-raw -
just clears the current terminal screen. (i.e.pikachu.gif | fastfetch --file-raw -
)pokeshell pikachu | fastfetch --file-raw -
:Here is the animated file that I would like to show in fastfetch:
How it looks by itself:
pokeshell_pikachu.mp4
And when trying to use the file with fastfetch:
The text was updated successfully, but these errors were encountered: