Logo (Builtin): adds LeonOS4 - #2575
Open
VasilyZa wants to merge 1 commit into
Open
Conversation
The logo is registered under the `ID` from /etc/os-release (`leonos4`) so that automatic detection works, and additionally as `LeonOS` (the `LOGO=` value) for manual selection. Fixes fastfetch-cli#2535 Co-authored-by: Leonmmcoset <leonmmcoset@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the ASCII logo for LeonOS 4 (requested in #2535).
Related issue (required for new logos for new distros)
Closes #2535
Changes
src/logo/ascii/l/leonos4.txt— the ASCII art from the request, using$1/$2placeholders mapped to the brand colors (FF_COLOR_FG_RGB "0;120;212"andFF_COLOR_FG_RGB "0;90;158").src/logo/ascii/l.inc, appended at the end of the array like other recently added logos.LeonOS4— theIDfrom/etc/os-release(ID=leonos4), so automatic detection works.LeonOS— theLOGO=value from the same file, kept for manual selection (-l leonos). Since names are matched case-insensitively, listingleonosseparately would be indistinguishable and is intentionally omitted.Logosentry to the unreleased section ofCHANGELOG.md.Screenshots
Automatic detection was verified against a simulated
/etc/os-release(PRETTY_NAME="LeonOS 4",ID=leonos4): a plainfastfetch --structure logopicks this logo up without passing-l.Verified locally:
codespell(clean),cmake -DBUILD_TESTS=On+ctest(6/6 pass),fastfetch --format json(well-formed),fastfetch -c presets/all.jsonc --stat false(no errors),clang-format(entry matches the surrounding style ofl.inc).Checklist