Загрузить файлы в «/»
This commit is contained in:
parent
d9bce24e52
commit
298bfe2189
2 changed files with 18 additions and 1 deletions
17
config.h
Normal file
17
config.h
Normal 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
|
2
funcs.h
2
funcs.h
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue