3 Commits

Author SHA1 Message Date
murat 07aad4b651 Merge #4
Distro ASCII art on the left side
2026-05-25 21:11:01 +03:00
murat 69f97442a3 added 2 more ascii logos
ubuntu and fedora logos added
2026-05-25 21:08:00 +03:00
murat 0b07013eeb pop_os and void linux color correction 2026-05-25 20:54:54 +03:00
+17 -22
View File
@@ -334,28 +334,26 @@ std::vector<string> distroArt() {
"ubuntu", "ubuntu",
Color::Orange, Color::Orange,
{ {
"------ |\\ ", // TODO: " _ ",
" | | \\ ", " ,--(_) ",
" | | / ", " _/ ;-._\\ ",
" | |/ ", "(_)( ) )",
" ", " \\ ;-'_/ ",
" ", " `--(_) "
" ",
" "
} }
}, },
{ {
"fedora", "fedora",
Color::Blue, Color::Blue,
{ {
"------ |\\ ", // TODO: " _____ ",
" | | \\ ", " / __)\\ ",
" | | / ", " | / \\ \\",
" | |/ ", " ___| |__/ /",
" ", " / (_ _)_/ ",
" ", "/ / | | ",
" ", "\\ \\__/ | ",
" " " \\(_____/ ",
} }
}, },
{ {
@@ -388,7 +386,7 @@ std::vector<string> distroArt() {
}, },
{ {
"pop", "pop",
Color::Purple, Color::Cyan,
{ {
"______ ", "______ ",
"\\ _ \\ __", "\\ _ \\ __",
@@ -428,7 +426,7 @@ std::vector<string> distroArt() {
}, },
{ {
"void", "void",
Color::Gray, Color::Green,
{ {
" ____ ", " ____ ",
" 'pfPfp.% ", " 'pfPfp.% ",
@@ -453,12 +451,9 @@ std::vector<string> distroArt() {
}, },
}; };
// Ubuntu: Orange (+ Light/Deep Orange)
// Fedora: Blue + Gray/White
std::vector<string> out; std::vector<string> out;
for (const auto& logo : logos) { for (const auto& logo : logos) {
if (logo.id == "alpine") { if (logo.id == distroID) {
const string prefix = color(logo.color); const string prefix = color(logo.color);
const string suffix = color(Color::Reset); const string suffix = color(Color::Reset);
for (const auto& line : logo.art) { for (const auto& line : logo.art) {