Skip to content

Add CachyOS logo and package support#60

Open
ruxir-ig wants to merge 19 commits into
ssleert:mainfrom
ruxir-ig:main
Open

Add CachyOS logo and package support#60
ruxir-ig wants to merge 19 commits into
ssleert:mainfrom
ruxir-ig:main

Conversation

@ruxir-ig
Copy link
Copy Markdown

@ruxir-ig ruxir-ig commented Dec 8, 2025

This pull request adds support for the CachyOS Linux distribution to the project. The main changes include introducing a logo for CachyOS, updating the logic to recognize CachyOS in relevant functions, and ensuring package counting works for this new distro.

CachyOS support:

  • Added ASCII logo for CachyOS to src/assets/logos.nim.
  • Included CachyOS in the coloredLogos array in src/nitches/getLogo.nim and mapped it to the cyan color. [1] [2]
  • Updated the getLogo function to return the CachyOS logo when distroId is "cachyos".

Package counting for CachyOS:

  • Updated getPkgs in src/nitches/getPkgs.nim to use Pacman package counting for CachyOS.
image

Add cachyosLogo ASCII art to src/assets/logos.nim Extend coloredLogos to
include (fgCyan, cachyosLogo) and map "cachyos" to it in getLogo Make
getPkgs return getPacmanPkgs for "cachyos" Minor whitespace cleanup in
getPkgs
Copilot AI review requested due to automatic review settings December 8, 2025 19:00
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds comprehensive support for the CachyOS Linux distribution by implementing logo display and package counting functionality. CachyOS is an Arch-based distribution that uses the Pacman package manager, and this PR ensures it's recognized alongside other supported distros like Arch, Manjaro, and Artix.

  • Added ASCII art logo for CachyOS with cyan coloring
  • Integrated CachyOS into the logo selection logic with proper array indexing
  • Configured CachyOS to use Pacman package counting

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/assets/logos.nim Adds the cachyosLogo ASCII art constant and fixes trailing whitespace in artixLogo
src/nitches/getLogo.nim Updates coloredLogos array from 16 to 17 elements, adds cachyosLogo with cyan color, and adds case for "cachyos" distroId
src/nitches/getPkgs.nim Adds "cachyos" case that uses getPacmanPkgs() for package counting and removes trailing whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants