This commit is contained in:
Your Name 2023-11-26 13:13:38 +03:00
parent bbf0fd0aba
commit b88f882a17
3 changed files with 18 additions and 17 deletions

View file

@ -12,8 +12,9 @@
#define CLOCK CLOCK_MONOTONIC
#endif
#define OS_SIZE 128
typedef struct {
char os_name[128];
char os_name[OS_SIZE + 1];
struct utsname uts;
char *pkg_cmd;

View file

@ -32,13 +32,13 @@ char *Alpine[] = {
};
char *Arch[] = {
"\033[1;34m /\\ ",
"\033[1;34m / \\ ",
"\033[1;34m /\\ \\ ",
"\033[1;34m / \\ ",
"\033[1;34m / ,, \\ ",
"\033[1;34m / | | -\\ ",
"\033[1;34m/_-'' ''-_\\",
"\033[1;34m /\\ ",
"\033[1;34m / \\ ",
"\033[1;34m /\\ \\ ",
"\033[1;34m / \\ ",
"\033[1;34m / ,, \\ ",
"\033[1;34m / | | -\\ ",
"\033[1;34m/_-'' ''-_\\ ",
" "
};
@ -64,10 +64,12 @@ char *OpenBSD[] = {
};
char *PlainOs[] = {
" /U /U ",
"( . .) ",
"*(()()) ",
" "
" (\\(\\ ",
" j . .) ",
" | ° ! ",
" ? ; ",
" c?\".UJ ",
" "
};
char *Unknow[] = {