2024-01-03 12:09:07 +00:00
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#define _CONFIG_H
|
|
|
|
|
|
|
|
#include "fetch.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char *title;
|
|
|
|
int (*func)(const char *title, const FETCH fetch);
|
|
|
|
} PARAMETR;
|
|
|
|
|
|
|
|
/* Config, EDIT THERE */
|
|
|
|
#define COLORS " \033[31mx \033[32mx \033[33mx \033[34mx \033[35mx \033[0m"
|
|
|
|
#define FONT_COLOR "\033[1;37m"
|
|
|
|
|
|
|
|
/* #define PRINT_TOTAL_MEM */
|
|
|
|
/* #define PRINT_USER_MEM */
|
|
|
|
#define PRINT_USED_AND_TOTAL_MEM
|
|
|
|
|
|
|
|
#ifdef _MAIN_H
|
|
|
|
PARAMETR CONFIG[] = {
|
2024-01-03 14:00:25 +00:00
|
|
|
{" ", Blank},
|
2024-01-03 13:52:11 +00:00
|
|
|
{"\033[1;31m ", PrintOs},
|
2024-01-03 12:09:07 +00:00
|
|
|
{" ", GetKernel},
|
|
|
|
{" ", GetUptime},
|
|
|
|
{" ", GetPkg},
|
|
|
|
{" ", Blank},
|
|
|
|
{COLORS, Blank}
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|