fixed uptime
This commit is contained in:
parent
889e6293fd
commit
d28f74ea00
2 changed files with 7 additions and 13 deletions
18
config.h
18
config.h
|
@ -9,7 +9,7 @@ typedef struct {
|
|||
} PARAMETR;
|
||||
|
||||
/* Config, EDIT THERE */
|
||||
#define COLORS "\033[31m<> \033[32m<> \033[33m<> \033[34m<> \033[35m<> \033[36m<>\033[0m"
|
||||
#define COLORS " \033[31mx \033[32mx \033[33mx \033[34mx \033[35mx \033[0m"
|
||||
#define FONT_COLOR "\033[1;37m"
|
||||
|
||||
/* #define PRINT_TOTAL_MEM */
|
||||
|
@ -18,17 +18,11 @@ typedef struct {
|
|||
|
||||
#ifdef _MAIN_H
|
||||
PARAMETR CONFIG[] = {
|
||||
{" os ", PrintOs},
|
||||
{" kr ", GetKernel},
|
||||
{" usr ", GetUser},
|
||||
{" upt ", GetUptime},
|
||||
{" arch ", GetArch},
|
||||
{"shell ", GetShell},
|
||||
{" pkgs ", GetPkg},
|
||||
{" mem ", GetMem},
|
||||
{"model ", GetModel},
|
||||
{" host ", GetHostname},
|
||||
{" lAVG ", GetAVG},
|
||||
{" ", Blank},
|
||||
{"\033[1;31m ", PrintOs},
|
||||
{" ", GetKernel},
|
||||
{" ", GetUptime},
|
||||
{" ", GetPkg},
|
||||
{" ", Blank},
|
||||
{COLORS, Blank}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue