diff --git a/config.h b/config.h new file mode 100644 index 0000000..8b6bb2b --- /dev/null +++ b/config.h @@ -0,0 +1,17 @@ +#ifndef CONFIG_H +#define CONFIG_H + +void (*FUNCS[])(void) = { + PrintOs, + GetAvg, + GetKernel, + GetShell, + GetUptime, + GetUser, + GetPkgs, + GetArch, + Blank, + PrintColors +}; + +#endif diff --git a/funcs.h b/funcs.h index adbd4da..2becbf7 100644 --- a/funcs.h +++ b/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) {