fix
This commit is contained in:
parent
4b434d35ae
commit
bbf0fd0aba
4 changed files with 81 additions and 36 deletions
15
config.h
15
config.h
|
@ -5,7 +5,7 @@
|
|||
|
||||
typedef struct {
|
||||
char *title;
|
||||
void (*func)(const char *title, const FETCH fetch);
|
||||
int (*func)(const char *title, const FETCH fetch);
|
||||
} PARAMETR;
|
||||
|
||||
/* Config, EDIT THERE */
|
||||
|
@ -13,12 +13,13 @@ typedef struct {
|
|||
#define PC_CHAR "%"
|
||||
|
||||
static PARAMETR CONFIG[] = {
|
||||
{"Os > ", PrintOs},
|
||||
{"Krnl > ", GetKernel},
|
||||
{"User > ", GetUser},
|
||||
{"Uptm > ", GetUptime},
|
||||
{"Arch > ", GetArch},
|
||||
{"Shll > ", GetShell},
|
||||
{"Os ", PrintOs},
|
||||
{"Krnl ", GetKernel},
|
||||
{"User ", GetUser},
|
||||
{"Uptm ", GetUptime},
|
||||
{"Arch ", GetArch},
|
||||
{"Shll ", GetShell},
|
||||
{"Pkgs ", GetPkg},
|
||||
{" ", Blank},
|
||||
{" ", PrintColors}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue