[FEAT] Allow specification of fall-back logo
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
- #2723 của @Remirdy — đã đóng, không merge
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 25.4k
- Fork
- 947
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fastfetch-cli/fastfetch
-
[LOGO] VentoOSĐang mởlogo request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
fastfetch-cli/fastfetch#2742 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[LOGO] MacroMag OSCó thể đã có người làm @maldyrek đã nhận 1 ngày trước. Đang mởlogo request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
fastfetch-cli/fastfetch#2740 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
logo request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
fastfetch-cli/fastfetch#2713 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[LOGO] Visnux LinuxCó thể đã có người làm @rafaelsoje đã nhận 19 ngày trước. Đang mởlogo request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
fastfetch-cli/fastfetch#2700 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[LOGO] ZelixOSCó thể đã có người làm @Hwi0228 đã nhận 24 ngày trước. Đang mởlogo request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
fastfetch-cli/fastfetch#2685 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fastfetch-cli/fastfetch
Issue tương tự
-
bug sev-3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ecs_ptr_from_json does not free the buffer of a string longer than 256 bytes on two error pathsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SanderMertens/flecs#2444 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100