[FEAT] Allow specification of fall-back logo
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
- #2723 von @Remirdy — ohne Merge geschlossen
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- C
- Sterne
- 25.4k
- Forks
- 947
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 21
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fastfetch-cli/fastfetch
-
[LOGO] VentoOSOffenlogo request
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
fastfetch-cli/fastfetch#2742 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] MacroMag OSEvtl. vergeben @maldyrek hat das vor 1 Tag übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
fastfetch-cli/fastfetch#2740 ·
Maintainer antworten meist innerhalb von 1 Tag
-
logo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
fastfetch-cli/fastfetch#2713 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] Visnux LinuxEvtl. vergeben @rafaelsoje hat das vor 19 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
fastfetch-cli/fastfetch#2700 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[LOGO] ZelixOSEvtl. vergeben @Hwi0228 hat das vor 24 Tagen übernommen. Offenlogo request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fastfetch-cli/fastfetch#2685 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fastfetch-cli/fastfetch
Ähnliche Issues
-
bug sev-3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
ecs_ptr_from_json does not free the buffer of a string longer than 256 bytes on two error pathsOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
SanderMertens/flecs#2444 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100