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

This commit is contained in:
8nlight 2023-10-19 00:16:57 +03:00
parent d9bce24e52
commit 298bfe2189
2 changed files with 18 additions and 1 deletions

17
config.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef CONFIG_H
#define CONFIG_H
void (*FUNCS[])(void) = {
PrintOs,
GetAvg,
GetKernel,
GetShell,
GetUptime,
GetUser,
GetPkgs,
GetArch,
Blank,
PrintColors
};
#endif

View File

@ -165,7 +165,7 @@ void GetAvg(void) {
}
#endif
printf("%sLoadAvg \033[0;37m%.2f %.2f %.2f", Logo.color, avg[0], avg[1], avg[2]);
printf("%sLOAGAVG \033[0;37m%.2f %.2f %.2f", Logo.color, avg[0], avg[1], avg[2]);
}
void Blank(void) {