[FEAT] Allow specification of fall-back logo
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
- #2723 par @Remirdy — fermée sans fusion
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 48/100
Piste de recherche
Start by reading the logo configuration and rendering entry points to see how the configured logo type is selected and how unsupported terminal protocols are handled; the issue does not name specific files or tests. Done means a config can specify a primary Kitty logo and a fallback file logo, with the fallback displayed when Kitty graphics are unavailable.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
Would it be possible to add an additional option to the logo handling to allow us to specify a fallback logo?
Motivation
I'm using Ghostty (latest 1.4.0 just released with full kitty support) and previously Kitty.
When SSH'ing into my servers (or indeed locally on my macbook), fastfetch will happily use the kitty option and display a PNG (and now an animated GIF). It looks great.
Occasionally, I may connect to my servers from another machine (e.g. a Windows host with Terminal) that does not support the Kitty graphics protocols. In this case, fastfetch cannot display the PNG/GIF and appears to fall-back to the default detected OS logo.
I have worked around this by keeping 2 fastfetch configs per machine; one with a kitty logo and another with a custom ASCII logo. Then bashrc uses a brief conditional to check the terminal and then run fastfetch pointing at the appropriate config.
It would be great to not have to do this with a script, and instead have the ability to specify the fall-back image natively in the fastfetch config.
In my case, primary logo would be the kitty logo (with the kitty type, file location, sizing etc), and then a fallback block with the file type, file location etc.
Obviously I don't know how feasible this is, but this would mean I could maintain a single fastfetch config for my servers.
Additional context
No response
- Langage dominant
- C
- Étoiles
- 25.4k
- Forks
- 947
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 21
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fastfetch-cli/fastfetch
-
[LOGO] VentoOSOuvertelogo request
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
fastfetch-cli/fastfetch#2742 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] MacroMag OSPeut-être pris @maldyrek l’a pris il y a 1 jour. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
fastfetch-cli/fastfetch#2740 ·
Les mainteneurs répondent en général sous 1 jour
-
logo request
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
fastfetch-cli/fastfetch#2713 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] Visnux LinuxPeut-être pris @rafaelsoje l’a pris il y a 19 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
fastfetch-cli/fastfetch#2700 ·
Les mainteneurs répondent en général sous 1 jour
-
[LOGO] ZelixOSPeut-être pris @Hwi0228 l’a pris il y a 24 jours. Ouvertelogo request
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
fastfetch-cli/fastfetch#2685 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fastfetch-cli/fastfetch
Issues similaires
-
bug sev-3
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
ecs_ptr_from_json does not free the buffer of a string longer than 256 bytes on two error pathsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
SanderMertens/flecs#2444 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100