Skip to content

Logo (Builtin): adds VentoOS - #2749

Open
Goldloli wants to merge 1 commit into
fastfetch-cli:devfrom
Goldloli:logo/ventoos
Open

Goldloli wants to merge 1 commit into
fastfetch-cli:devfrom
Goldloli:logo/ventoos

Conversation

@Goldloli

Copy link
Copy Markdown

Summary

Adds a built-in logo for VentoOS, a NixOS-based distribution (ID=ventoos, NAME=VentoOS), using the ASCII art supplied in the logo request. It is 47 columns × 13 lines, well under the 50 × 20 limit.

Related issue (required for new logos for new distros)

Closes #2742

Changes

  • src/logo/ascii/v/ventoos.txt — new logo, copied verbatim from the art in [LOGO] VentoOS #2742.
    • Every line is prefixed with a single $1 slot: the mark is monochrome in the project's own branding repo (vento-logomart.svg fills with a single #31363b), so a second slot would have nothing to colour.
    • 13 lines, 47 columns visible, no trailing whitespace, no hardcoded ANSI escapes.
  • src/logo/ascii/v.inc — registers it under the single name VentoOS, in alphabetical position between Valhalla/Vanilla and VincentOS.
    • One name is enough: matching is case-insensitive, so VentoOS already covers both ID=ventoos and NAME=VentoOS from os-release. Verified below that ID=ventoos picks it up with no --logo flag.
    • $1 is FF_COLOR_FG_DEFAULT, the same choice Valhalla makes for a logo that inherits the terminal foreground.
  • CHANGELOG.md — one line under the topmost Logos: section.

Screenshots

fastfetch --logo ventoos -s title:os:kernel:

                     *%%:                  :%%*    user@host
                   :%%*                   =%%=     OS: VentoOS 1.5 (Desktop) aarch64
                  =%%=                   *%%.
                 *%%:                   :%%*
               :%%*                    =%%=
              =%%=                    *%%.
             *%%:                    :%%*
           :%%*                     =%%=
          =%%=                     *%%.
         *%%:                     :%%*
       :%%*                      :%%*
      =%%=                      :%%*
     :%%:                      :%%*

Auto-detection with a real VentoOS os-release and no --logo flag — built and run on Linux (ubuntu:24.04), with os-release generated from the values in modules/configuration.nix upstream:

                     *%%:                  :%%*    root@eb910fb7eb94
                   :%%*                   =%%=     OS: VentoOS 1.5 (Desktop) aarch64
                  =%%=                   *%%.
                 ... (rest of the logo, 13 lines)

Confirmation the name is registered:

$ fastfetch --list-logos | grep -i vento
516) "VentoOS"

Checklist

  • I have tested my changes locally.

Verification performed on this branch:

  • cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON && cmake --build build -j8 — builds clean, no new warnings.
  • cd build && ctest --output-on-failure — 21/21 passed.
  • ./build/fastfetch --format json — output parses as JSON (29 keys).
  • --list-logos lists 516) "VentoOS"; --logo ventoos resolves; --logo VentoOS resolves.
  • Auto-detection on Linux: built in ubuntu:24.04, replaced /etc/os-release with the VentoOS values (ID=ventoos, NAME=VentoOS, VERSION=1.5, VARIANT=Desktop), ran fastfetch with no logo flag — the VentoOS logo is selected and the OS module reports VentoOS 1.5 (Desktop) aarch64.
  • A/B: with the three files reverted in the same container, --list-logos | grep -i vento is empty and the same os-release falls back to the generic Linux logo. So the new entry, not the container environment, produces the result.

One note for reviewers: this is a logo addition only, so logo_builtin.h and builtin.c are regenerated by CMake from the file glob as usual — no generator changes were needed. clang-format was not run over v.inc on purpose: it re-indents every #ifdef in that file and would have buried a 10-line addition under ~50 lines of unrelated churn.

Registers the VentoOS logo requested in fastfetch-cli#2742 from the art in the
logo request, keyed on ID=ventoos / NAME=VentoOS from its os-release.

The art is 47 columns wide and 13 lines tall, uses a single $1 slot
(the mark is monochrome, #31363b in the branding repo) and has no
trailing whitespace.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[LOGO] VentoOS

1 participant