Merge pull request #94 from prettykool/main

Bunch of stuff
This commit is contained in:
TheDarkBug 2021-05-08 00:36:19 +02:00 committed by GitHub
commit dd384344bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 10 deletions

View file

@ -6,11 +6,11 @@ A meme system info tool for (almost) all your Linux/Unix-based systems, based on
#### Full support (Both Ascii art + images are provided for the given distribution)
Nyalpine, Nyarch Linuwu, Nyartix Linuwu, Debinyan, endOwO, Fedowa, GentOwO, GnUwU gUwUix, Miwint, Myanjawo, OwOpenSUSE, Pop OwOs, RaspNyan, UwUntu, and OwOid; Plus Nyandroid.
Nyalpine, Nyarch Linuwu, Nyartix Linuwu, Debinyan, endOwO, Fedowa, GentOwO, GnUwU gUwUix, Miwint, Myanjawo, OwOpenSUSE, Pop OwOs, RaspNyan, Swackwawe, sOwOlus, UwUntu, and OwOid; Plus Nyandroid.
#### Partial support (Either no Ascii art, or no image is provided)
KDE NeOwOn, nixOwOs, Swackwawe, sOwOlus; Plus FweeBSD, OwOpenBSD and macOwOS; Plus WinyandOwOws.
KDE NeOwOn, nixOwOs; Plus FweeBSD, OwOpenBSD and macOwOS; Plus WinyandOwOws.
## Building and installation

View file

@ -567,18 +567,18 @@ void list(char *arg)
printf("%s -d <options>\n"
" Available distributions:\n"
" %sArch linux %sbased:\n"
" %sarch, artix, %smanjaro, \"manjaro-arm\"\n\n"
" %sarch, artix, %sendeavouros %smanjaro, \"manjaro-arm\"\n\n"
" %sDebian/%sUbuntu %sbased:\n"
" %sdebian, %slinuxmint, %spop, %sraspbian\n\n"
" %sdebian, %slinuxmint, neon %spop, %sraspbian %subuntu\n\n"
" %sBSD %sbased:\n"
" %sfreebsd, %sopenbsd, %sm%sa%sc%so%ss\n\n"
" %sOther/spare distributions:\n"
" %salpine, %sfedora, %sgentoo, %s\"void\", \"opensuse-leap\", android, %sgnu, guix, %swindows, %sunknown\n",
" %salpine, %sfedora, %sgentoo, %sslackware, %ssolus, %s\"void\", \"opensuse-leap\", android, %sgnu, guix, %swindows, %sunknown\n\n",
arg,
BLUE, NORMAL, BLUE, GREEN, // Arch based colors
RED, YELLOW, NORMAL, RED, GREEN, BLUE, RED, // Debian based colors
RED, NORMAL, RED, YELLOW, GREEN, YELLOW, RED, PINK, BLUE, // BSD colors
NORMAL, BLUE, BLUE, PINK, GREEN, YELLOW, BLUE, WHITE); // Other/spare distributions colors
BLUE, NORMAL, BLUE, MAGENTA, GREEN, // Arch based colors
RED, YELLOW, NORMAL, RED, GREEN, BLUE, RED, YELLOW, // Debian based colors
RED, NORMAL, RED, YELLOW, GREEN, YELLOW, RED, PINK, BLUE, // BSD colors
NORMAL, BLUE, BLUE, PINK, MAGENTA, WHITE, GREEN, YELLOW, BLUE, WHITE); // Other/spare distributions colors
}
void print_ascii()
@ -635,7 +635,7 @@ void print_ascii()
" %s/ %s/ _) %s) \n"
" %s/_%s/___-- %s___-\n"
" /____---\n\n",
MAGENTA, YELLOW, MAGENTA, BLUE, YELLOW, MAGENTA, BLUE, YELLOW, MAGENTA, BLUE, YELLOW, MAGENTA, BLUE, YELLOW, MAGENTA, BLUE);
MAGENTA, RED, MAGENTA, BLUE, RED, MAGENTA, BLUE, RED, MAGENTA, BLUE, RED, MAGENTA, BLUE, RED, MAGENTA, BLUE);
}
else if (strcmp(version_name, "fedora") == 0)
{
@ -719,6 +719,26 @@ void print_ascii()
" (_(__)_)\n"
" (__)\n\n\n",
GREEN, RED);
}
else if (strcmp(version_name, "slackware") == 0)
{
printf("\033[2E\033[6C%s|\\.-----./|\n"
" |/ \\|\n"
" | > < |\n"
" | %s~ %sS %s~ %s|\n"
"_ ---\\ \u03c9 /\n"
" \\_/ '-----'\n\n",
MAGENTA, LPINK, WHITE, LPINK, MAGENTA);
}
else if (strcmp(version_name, "solus") == 0)
{
printf("\033[2E\033[6C%s|\\.-----./|\n"
" | \\ / |\n"
" |/ > <\\ |\n"
" |%s_%s~%s_____%s~%s\\|\n"
"%s_ ---\\ %sω %s/\n"
" \\_/ '-----'\n\n",
WHITE, BLUE, LPINK, BLUE, LPINK, WHITE, BLUE, WHITE, BLUE);
}
else if (strcmp(version_name, "ubuntu") == 0)
{