Skip to content

Commit

Permalink
Add Void logo (#17)
Browse files Browse the repository at this point in the history
* Add Void logo

* Minor nitpicks to the Void logo
  • Loading branch information
Xaidee authored Jul 5, 2024
1 parent fa7c9dc commit adb69be
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Most of the ASCII art from _zeitfetch_ is not originally made by me, only slight
| Ubuntu | [KittyKatt](https://github.com/KittyKatt) | [screenfetch](https://github.com/KittyKatt/screenFetch) |
| Fedora | likw1dus | [pagure.io](https://pagure.io/design/issue/736) |
| Arch | [trizen](https://aur.archlinux.org/packages/alsi/) | [wiki.archlinux.org (alsi)](https://wiki.archlinux.org/title/ASCII_art) |
| Void | [Xaidee](https://github.com/Xaidee) | original design using [neofetch](https://github.com/dylanaraps/neofetch) as a reference |
| MacOS | [shelldandy](https://github.com/shelldandy) | [neofetch PR](https://github.com/dylanaraps/neofetch/issues/789) |
| Windows 11 | [kiedtl](https://github.com/kiedtl) | [winfetch](https://github.com/kiedtl/winfetch) |
| Windows 10 | [HotDog640](https://github.com/HotDog640) | [neofetch PR](https://github.com/dylanaraps/neofetch/issues/1466) |
Expand Down
20 changes: 20 additions & 0 deletions src/logo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub enum Logo {
Win,
Arch,
Redhat,
Void,
Linux,
}

Expand Down Expand Up @@ -165,6 +166,25 @@ static LOGOS: phf::Map<&'static str, &'static str> = phf_map! {
\x1b[31;1m ..::::::::::::::::::.\x1b[0m
\x1b[31;1m ....:::::...\x1b[0m
\x1b[31;1m\x1b[0m",
"Void" => "
\x1b[32;1m ...:::::::...\x1b[0m
\x1b[32;1m .:::::::::::::::::.\x1b[0m
\x1b[32;1m '::::::::::::::::::::.\x1b[0m
\x1b[32;1m . '::::'' '':::::::::.\x1b[0m
\x1b[32;1m .:V. ' '':::::::\x1b[0m
\x1b[32;1m .VVVVV:. '::::::.\x1b[0m
\x1b[32;1m .VVVVVV' .:::::. '::::::.\x1b[0m
\x1b[90;1m######\x1b[32;1mVVVVV: \x1b[90;1m##^ v########v ####\x1b[32;1m:\x1b[90;1m##########v\x1b[0m
\x1b[90;1m v#####\x1b[32;1mVVVV\x1b[90;1m##^ v####\x1b[32;1m:::\x1b[90;1m####\x1b[32;1m.\x1b[90;1m#### ####\x1b[32;1m:::\x1b[90;1m#####\x1b[0m
\x1b[90;1m v########^ ####\x1b[32;1m:::\x1b[90;1m####\x1b[32;1m:\x1b[90;1m#### #####\x1b[32;1m::\x1b[90;1m#####^\x1b[0m
\x1b[90;1m v####^\x1b[32;1mVV: \x1b[90;1m^########^\x1b[32;1m:\x1b[90;1m#### ###########^\x1b[0m
\x1b[32;1m VVVVVVV. ':::::' :::::::\x1b[0m
\x1b[32;1m VVVVVVV. '::::::\x1b[0m
\x1b[32;1m VVVVVVVV.. . ':::\x1b[0m
\x1b[32;1m 'VVVVVVVVVV::...::VVV. '\x1b[0m
\x1b[32;1m 'VVVVVVVVVVVVVVVVVVV:.\x1b[0m
\x1b[32;1m ':VVVVVVVVVVVVVVVVV:'\x1b[0m
\x1b[32;1m '':VVVVVVVVV:''\x1b[0m",
"Linux" => "
\x1b[1m a8888b.\x1b[0m
\x1b[1m d888888b.\x1b[0m
Expand Down
2 changes: 2 additions & 0 deletions src/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ pub fn get_logo(sys: &System) -> Option<String> {
get_logo_by_distro(Arch)
} else if sys_name.contains("Red Hat") {
get_logo_by_distro(Redhat)
} else if sys_name.contains("Void") {
get_logo_by_distro(Void)
} else if sys_name.contains("Darwin") || sys_name.contains("Mac") {
get_logo_by_distro(Mac)
} else {
Expand Down

0 comments on commit adb69be

Please sign in to comment.