Загрузить файлы в «/»

This commit is contained in:
8nlight 2023-10-21 16:54:25 +03:00
parent 68c83bac59
commit f7f728c618
2 changed files with 18 additions and 8 deletions

View File

@ -204,6 +204,9 @@ LOGO GetArt(void) {
else if (strstr(Os, "Arch") || strstr(Os, "Artix")) else if (strstr(Os, "Arch") || strstr(Os, "Artix"))
SetArt(&art, sizeof(Arch) / sizeof(char *), "pacman -Qq | wc -l", Arch, "\033[0;34m"); SetArt(&art, sizeof(Arch) / sizeof(char *), "pacman -Qq | wc -l", Arch, "\033[0;34m");
else if (strstr(Os, "PlainOs"))
SetArt(&art, sizeof(PlainOs) / sizeof(char *), NULL, PlainOs, "\033[37m");
} }
else if (strstr(Uts.sysname, "OpenBSD")) else if (strstr(Uts.sysname, "OpenBSD"))

23
logos.h
View File

@ -22,13 +22,13 @@ char *Void[] = {
}; };
char *Alpine[] = { char *Alpine[] = {
"\033[34m /\\ /\\ ", "\033[34m /\\ /\\ ",
"\033[34m / \\ \\ ", "\033[34m / \\ \\ ",
"\033[34m / \\ \\ ", "\033[34m / \\ \\ ",
"\033[34m / \\ \\ ", "\033[34m / \\ \\ ",
"\033[34m/ \\ \\ ", "\033[34m/ \\ \\ ",
"\033[34m \\ ", "\033[34m \\ ",
" " " "
}; };
char *Arch[] = { char *Arch[] = {
@ -60,7 +60,14 @@ char *OpenBSD[] = {
"\033[1;33m |_ < ) 3 ) ", "\033[1;33m |_ < ) 3 ) ",
"\033[1;33m / \\ / ", "\033[1;33m / \\ / ",
"\033[1;33m /-_____-\\ ", "\033[1;33m /-_____-\\ ",
" " " "
};
char *PlainOs[] = {
" /U /U ",
"( . .) ",
"*(()()) ",
" "
}; };
char *Unknow[] = { char *Unknow[] = {