Add CachyOS logo and package support#60
Open
ruxir-ig wants to merge 19 commits into
Open
Conversation
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
There was a problem hiding this comment.
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.
…ons and system info
…d on tag + upload binaries)
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.
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:
src/assets/logos.nim.coloredLogosarray insrc/nitches/getLogo.nimand mapped it to the cyan color. [1] [2]getLogofunction to return the CachyOS logo whendistroIdis "cachyos".Package counting for CachyOS:
getPkgsinsrc/nitches/getPkgs.nimto use Pacman package counting for CachyOS.