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:27:33 +03:00
|
|
|
|
|
2023-11-12 14:54:45 +03:00
|
|
|
|
char *art[] = {
|
|
|
|
|
// FreeBSD
|
2023-11-15 08:37:59 +03:00
|
|
|
|
// "\033[31m_ _\033[0m",
|
|
|
|
|
// "\033[31m\\‾‾‾‾/\033[0m",
|
|
|
|
|
// "\033[31m|^ww^|\033[0m",
|
|
|
|
|
// "\033[31m\\____/\033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-12 14:54:45 +03:00
|
|
|
|
// Gentoo
|
|
|
|
|
// "\x1B[38;5;135m /‾\\",
|
|
|
|
|
// "\x1B[38;5;135m( \x1B[38;5;183mo \x1B[38;5;135m\\",
|
|
|
|
|
// "\x1B[38;5;135m/ /",
|
|
|
|
|
// "\x1B[38;5;135m\\__/"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-12 14:54:45 +03:00
|
|
|
|
// Arch
|
|
|
|
|
// " /\\ ",
|
|
|
|
|
// " /\\ \\ ",
|
|
|
|
|
// " / \\ ",
|
|
|
|
|
// "/__/\\__\\"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-12 14:54:45 +03:00
|
|
|
|
// Just cute cat
|
2023-11-15 13:30:51 +03:00
|
|
|
|
// " ╱|、 ",
|
|
|
|
|
// "(˚ˎ。7 ",
|
|
|
|
|
// " |、˜〵 ",
|
|
|
|
|
// "じしˍ,)ノ"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 17:28:07 +03:00
|
|
|
|
// Ubuntu
|
2023-11-15 17:27:33 +03:00
|
|
|
|
// "\033[31m /‾‾‾‾‾\\ \033[0m",
|
|
|
|
|
// "\033[31m| o---o |\033[0m",
|
|
|
|
|
// "\033[31m| \\o/ |\033[0m",
|
|
|
|
|
// "\033[31m \\_____/ \033[0m"
|
|
|
|
|
|
2023-11-15 08:37:59 +03:00
|
|
|
|
// Mint (shitty)
|
|
|
|
|
// "\e[0;32m| ‾T‾T‾T‾\\ \033[0m",
|
|
|
|
|
// "\e[0;32m| | | | | \033[0m",
|
|
|
|
|
// "\e[0;32m| | | | | \033[0m",
|
|
|
|
|
// "\e[0;32mL________J \033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 08:37:59 +03:00
|
|
|
|
// Debian
|
|
|
|
|
// "\e[0;31m I‾‾‾‾‾\\ \033[0m",
|
|
|
|
|
// "\e[0;31m | I‾‾‾ | \033[0m",
|
|
|
|
|
// "\e[0;31m \\ L___/ \033[0m",
|
|
|
|
|
// "\e[0;31m \\ \033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 08:37:59 +03:00
|
|
|
|
// Manjaro
|
|
|
|
|
// "\e[0;32mMM MMMM \033[0m",
|
|
|
|
|
// "\e[0;32mMM MMMM \033[0m",
|
|
|
|
|
// "\e[0;32mMM M \033[0m",
|
|
|
|
|
// "\e[0;32mMM M M \033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 08:37:59 +03:00
|
|
|
|
// Slackware (quite shitty)
|
|
|
|
|
// "\e[0;34m _____ \033[0m",
|
|
|
|
|
// "\e[0;34m L___ \033[0m",
|
|
|
|
|
// "\e[0;34m| ____J \033[0m",
|
|
|
|
|
// "\e[0;34mL_______ \033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 13:30:51 +03:00
|
|
|
|
// Triangle Linux
|
|
|
|
|
// "\e[0;36m /\\ \033[0m",
|
|
|
|
|
// "\e[0;36m / \\ \033[0m",
|
|
|
|
|
// "\e[0;36m/ \\\033[0m",
|
|
|
|
|
// "\e[0;36m‾‾‾‾‾‾\033[0m"
|
2023-11-15 17:27:33 +03:00
|
|
|
|
|
2023-11-15 13:30:51 +03:00
|
|
|
|
// Distro not found
|
|
|
|
|
// " /‾‾‾‾‾\\",
|
|
|
|
|
// " |",
|
|
|
|
|
// " /‾‾ ",
|
|
|
|
|
// " 0 "
|
2023-11-15 08:37:59 +03:00
|
|
|
|
|
2023-11-15 17:27:33 +03:00
|
|
|
|
// Fedora
|
|
|
|
|
// "\e[0;34m /‾‾‾‾‾\\\033[0m",
|
|
|
|
|
// "\e[0;34m | |‾‾‾ |\033[0m",
|
|
|
|
|
// "\e[0;34m | J‾‾‾ |\033[0m",
|
|
|
|
|
// "\e[0;34m L_____/ \033[0m"
|
2023-11-15 08:37:59 +03:00
|
|
|
|
|
2023-11-15 17:27:33 +03:00
|
|
|
|
// elementaryOS
|
|
|
|
|
// " /‾‾‾‾‾‾\\",
|
|
|
|
|
// "| /‾‾‾‾\\ |",
|
|
|
|
|
// "|/|‾‾‾‾‾ |",
|
|
|
|
|
// " \\🮀🮀🮀🮀__/"
|
|
|
|
|
};
|