2023-11-16 08:33:07 +03:00
|
|
|
|
#include "defs.h"
|
|
|
|
|
|
2023-11-12 14:54:45 +03:00
|
|
|
|
const int max_username_length = 128;
|
|
|
|
|
const int max_hostname_length = 128;
|
|
|
|
|
const int max_uptime_length = 40;
|
2023-11-15 17:51:03 +03:00
|
|
|
|
|
2023-11-16 08:33:07 +03:00
|
|
|
|
struct art_entry arts[] = {
|
|
|
|
|
{
|
|
|
|
|
"cat",
|
|
|
|
|
{
|
|
|
|
|
" ╱|、 ",
|
|
|
|
|
"(˚ˎ。7 ",
|
|
|
|
|
"| 、˜〵 ",
|
|
|
|
|
"じしˍ,)ノ"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"freebsd",
|
|
|
|
|
{
|
|
|
|
|
"\033[31m_ _\033[0m",
|
|
|
|
|
"\033[31m\\‾‾‾‾/\033[0m",
|
|
|
|
|
"\033[31m|^vv^|\033[0m",
|
|
|
|
|
"\033[31m\\____/\033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"gentoo",
|
|
|
|
|
{
|
|
|
|
|
" /‾\\ ",
|
|
|
|
|
"( o \\",
|
|
|
|
|
"/ /",
|
|
|
|
|
"\\__/ "
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"arch",
|
|
|
|
|
{
|
|
|
|
|
" /\\ ",
|
|
|
|
|
" /\\ \\ ",
|
|
|
|
|
" / \\ ",
|
|
|
|
|
"/__/\\__\\"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "ubuntu",
|
|
|
|
|
{
|
|
|
|
|
"\033[31m /‾‾‾‾‾\\ \033[0m",
|
|
|
|
|
"\033[31m| o---o |\033[0m",
|
|
|
|
|
"\033[31m| \\o/ |\033[0m",
|
|
|
|
|
"\033[31m \\_____/ \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "mint",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;32m| ‾T‾T‾T‾\\ \033[0m",
|
|
|
|
|
"\e[0;32m| | | | | \033[0m",
|
|
|
|
|
"\e[0;32m| | | | | \033[0m",
|
|
|
|
|
"\e[0;32mL________J \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "debian",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;31m I‾‾‾‾‾\\ \033[0m",
|
|
|
|
|
"\e[0;31m | I‾‾‾ | \033[0m",
|
|
|
|
|
"\e[0;31m \\ L___/ \033[0m",
|
|
|
|
|
"\e[0;31m \\ \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "manjaro",
|
|
|
|
|
{
|
2023-11-16 17:26:01 +03:00
|
|
|
|
"\e[0;32mMMMM MM \033[0m",
|
|
|
|
|
"\e[0;32mM MM \033[0m",
|
|
|
|
|
"\e[0;32mM M MM \033[0m",
|
|
|
|
|
"\e[0;32mM M MM\033[0m"
|
2023-11-16 08:33:07 +03:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "slackware",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m _____ \033[0m",
|
|
|
|
|
"\e[0;34m L___ \033[0m",
|
|
|
|
|
"\e[0;34m| ____J \033[0m",
|
|
|
|
|
"\e[0;34mL_______ \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "triangle",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;36m /\\ \033[0m",
|
|
|
|
|
"\e[0;36m /\\ \\ \033[0m",
|
|
|
|
|
"\e[0;36m/ \\ \\\033[0m",
|
|
|
|
|
"\e[0;36m‾‾‾‾‾‾\033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "?",
|
|
|
|
|
{
|
|
|
|
|
" /‾‾‾‾\\ ",
|
|
|
|
|
" | ",
|
|
|
|
|
" /‾ ",
|
|
|
|
|
" 0 "
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "fedora",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m /‾‾‾‾‾\\\033[0m",
|
|
|
|
|
"\e[0;34m | |‾‾‾ |\033[0m",
|
|
|
|
|
"\e[0;34m | J‾‾‾ |\033[0m",
|
|
|
|
|
"\e[0;34m L_____/ \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "elementary",
|
|
|
|
|
{
|
|
|
|
|
" /‾‾‾‾‾‾\\",
|
|
|
|
|
"| /‾‾‾‾\\ |",
|
|
|
|
|
"|/|‾‾‾‾‾ |",
|
|
|
|
|
" \\🮀🮀🮀🮀__/"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "kali",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m \\ \\ \033[0m",
|
|
|
|
|
"\e[0;34m --/‾‾‾‾\\\033[0m",
|
|
|
|
|
"\e[0;34m \\ o\033[0m",
|
|
|
|
|
"\e[0;34m \\ \033[0m",
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "artix",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m /\\ \033[0m",
|
|
|
|
|
"\e[0;34m /\\/\\ \033[0m",
|
|
|
|
|
"\e[0;34m / /\\ \\ \033[0m",
|
|
|
|
|
"\e[0;34m/_//\\__\\\033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "dafuckinstikman",
|
|
|
|
|
{
|
|
|
|
|
" 0 ",
|
|
|
|
|
" /|\\ ",
|
|
|
|
|
" | ",
|
|
|
|
|
" / \\ "
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "templeos",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m|‾‾‾‾/‾‾‾|\e[0;37m",
|
|
|
|
|
"\e[0;34m|\e[0;33mtempleOS\e[0;34m|\e[0;37m",
|
|
|
|
|
"\e[0;34m| -/- |\e[0;37m",
|
|
|
|
|
"\e[0;34mL_/______J\e[0;37m"
|
|
|
|
|
}
|
2023-11-16 17:26:01 +03:00
|
|
|
|
},
|
|
|
|
|
{ "edubuntu",
|
|
|
|
|
{
|
|
|
|
|
"\033[31m /‾‾‾|‾\\\033[0m ",
|
|
|
|
|
"\033[31m| o---o |\033[0m",
|
|
|
|
|
"\033[31m| \\o/ |\033[0m",
|
|
|
|
|
"\033[31m \\_____/\033[0m "
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "popos",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;34m|‾‾| |\033[0m ",
|
|
|
|
|
"\e[0;34m|__| |\033[0m ",
|
|
|
|
|
"\e[0;34m| o\033[0m ",
|
|
|
|
|
"\e[0;34m______\033[0m "
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "opensuse",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;32m ______|‾‾o)| \e[0;37m",
|
|
|
|
|
"\e[0;32m /MMMMMM‾‾‾‾ \e[0;37m",
|
|
|
|
|
"\e[0;32m |0 \\ \\ \e[0;37m",
|
|
|
|
|
"\e[0;32m \e[0;37m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "steamos",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;30m /‾‾‾‾‾‾\\ \033[0m",
|
|
|
|
|
"\e[0;30m| /0 |\033[0m",
|
|
|
|
|
"\e[0;30m|\\__0=/ |\033[0m",
|
|
|
|
|
"\e[0;30m \\______/ \033[0m"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "android",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;32m\\/‾‾‾‾‾‾\\/\033[0m",
|
|
|
|
|
"\e[0;32m| 0 0 |\033[0m",
|
|
|
|
|
"\e[0;32m‾‾‾‾‾‾‾‾‾‾\033[0m",
|
|
|
|
|
"\e[0;32m Android. \033[0m"
|
|
|
|
|
// wtf man, why you use this on android?
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "ios",
|
|
|
|
|
{
|
|
|
|
|
" /‾‾o/‾‾\\",
|
|
|
|
|
"| /‾",
|
|
|
|
|
"| \\_",
|
|
|
|
|
" \\______/"
|
|
|
|
|
// PIZDEEEEC BLYAT
|
|
|
|
|
}
|
2023-11-16 18:51:18 +03:00
|
|
|
|
},
|
|
|
|
|
{ "alt",
|
|
|
|
|
{
|
2023-11-16 19:25:51 +03:00
|
|
|
|
"\e[0;33m|‾‾‾‾‾‾‾|\e[0;37m",
|
|
|
|
|
"\e[0;33m| \e[0;30m o o\e[0;33m|\e[0;37m",
|
|
|
|
|
"\e[0;30mAlt 0 0\e[0;33m|\e[0;37m",
|
|
|
|
|
"\e[0;33m|_\e[0;30mLinux\e[0;33m_|\e[0;37m"
|
2023-11-16 18:51:18 +03:00
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{ "rammstein",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;30m |‾‾‾‾|\e[0;37m ",
|
|
|
|
|
"\e[0;30m|‾ ‾\\ ‾|\e[0;37m",
|
|
|
|
|
"\e[0;30m|_ _\\ _|\e[0;37m",
|
|
|
|
|
"\e[0;30m |____|\e[0;37m "
|
|
|
|
|
}
|
2023-11-16 19:13:29 +03:00
|
|
|
|
},
|
|
|
|
|
{ "hellosystem",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;30m| | | ___\e[0;37m ",
|
|
|
|
|
"\e[0;30m|__ ____ | | / \\\e[0;37m ",
|
|
|
|
|
"\e[0;30m| | |___| /| /| / |\\/\e[0;37m",
|
|
|
|
|
"\e[0;30m| |/\\____/ |__/ |__/ \\__/ \e[0;37m "
|
|
|
|
|
}
|
2023-11-16 19:34:35 +03:00
|
|
|
|
},
|
|
|
|
|
{ "phone",
|
|
|
|
|
{
|
|
|
|
|
" /‾‾/",
|
|
|
|
|
"| | ",
|
|
|
|
|
"| | ",
|
|
|
|
|
" \\__\\"
|
|
|
|
|
}
|
2023-11-16 19:41:13 +03:00
|
|
|
|
},
|
|
|
|
|
{ "youtube",
|
|
|
|
|
{
|
|
|
|
|
"\e[0;31m/‾‾‾‾‾‾‾‾‾\\\e[0;37m",
|
|
|
|
|
"\e[0;31m| \e[0;37m|‾\\ \e[0;31m|\e[0;37m",
|
|
|
|
|
"\e[0;31m| \e[0;37m|_/ \e[0;31m|\e[0;37m",
|
|
|
|
|
"\e[0;31m\\_________/\e[0;37m"
|
|
|
|
|
}
|
2023-11-16 17:26:01 +03:00
|
|
|
|
}
|
2023-11-16 19:41:13 +03:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|