This commit is contained in:
Your Name 2023-11-02 17:51:10 +03:00
parent b14ca9e430
commit c65640c4f6
12 changed files with 241 additions and 296 deletions

View file

@ -1,17 +1,22 @@
#ifndef CONFIG_H
#define CONFIG_H
#ifndef _CONFIG_H
#define _CONFIG_H
void (*FUNCS[])(void) = {
PrintOs,
GetAvg,
GetKernel,
GetShell,
GetUptime,
GetUser,
GetPkgs,
GetArch,
Blank,
PrintColors
#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[] = {
{"Krnl ", GetKernel},
{"Os ", PrintOs},
{" ", Blank},
{" ", PrintColors}
};
#endif