kfetch/config.h
Your Name 18697ea260 fix
2023-11-26 13:28:41 +03:00

28 lines
488 B
C

#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 FONT_COLOR "\033[37m"
#define PC_CHAR "%"
static PARAMETR CONFIG[] = {
{" OS ", PrintOs},
{" KERNEL ", GetKernel},
{" USER ", GetUser},
{" UPTIME ", GetUptime},
{" ARCH ", GetArch},
{" SHELL ", GetShell},
{" PKGS ", GetPkg},
{"", Blank},
{"", PrintColors}
};
#endif