kfetch/config.h

27 lines
460 B
C
Raw Normal View History

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;
void (*func)(const char *title, const FETCH fetch);
} PARAMETR;
/* Config, EDIT THERE */
#define FONT_COLOR "\033[37m"
#define PC_CHAR "%"
static PARAMETR CONFIG[] = {
2023-11-02 15:19:43 +00:00
{"Os > ", PrintOs},
{"Krnl > ", GetKernel},
{"User > ", GetUser},
{"Uptm > ", GetUptime},
{"Arch > ", GetArch},
{"Shll > ", GetShell},
{" ", Blank},
{" ", PrintColors}
2023-10-18 21:16:57 +00:00
};
#endif