fix
This commit is contained in:
parent
b14ca9e430
commit
c65640c4f6
12 changed files with 241 additions and 296 deletions
31
config.h
31
config.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue