2023-11-02 14:51:10 +00:00
|
|
|
#ifndef _CONFIG_H
|
|
|
|
#define _CONFIG_H
|
2023-10-18 21:16:57 +00:00
|
|
|
|
2023-11-02 14:51:10 +00:00
|
|
|
#include "fetch.h"
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
char *title;
|
2023-11-26 09:49:11 +00:00
|
|
|
int (*func)(const char *title, const FETCH fetch);
|
2023-11-02 14:51:10 +00:00
|
|
|
} PARAMETR;
|
|
|
|
|
|
|
|
/* Config, EDIT THERE */
|
2023-12-15 15:45:57 +00:00
|
|
|
#define FONT_COLOR "\033[1;37m"
|
2023-12-28 12:34:03 +00:00
|
|
|
#define PC_CHAR "▂"
|
2023-11-02 14:51:10 +00:00
|
|
|
|
2023-12-15 15:17:49 +00:00
|
|
|
#ifdef _MAIN_H
|
|
|
|
PARAMETR CONFIG[] = {
|
2023-12-28 12:34:03 +00:00
|
|
|
{" --- ", GetUser},
|
|
|
|
{"\033[31m ", PrintOs},
|
|
|
|
{"\033[32m ", GetKernel},
|
|
|
|
{"\033[33m ", GetUser},
|
|
|
|
{"\033[34m ", GetUptime},
|
|
|
|
{"\033[35m ", GetArch},
|
|
|
|
{"\033[36m ", GetShell},
|
|
|
|
{"\033[37m ", GetPkg},
|
|
|
|
{"\033[38m ", GetMem},
|
|
|
|
{" ", Blank},
|
|
|
|
{" ", PrintColors}
|
2023-10-18 21:16:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
2023-12-15 15:17:49 +00:00
|
|
|
|
|
|
|
#endif
|