oohh
This commit is contained in:
parent
76e0dcb8ed
commit
4fdee929ee
10 changed files with 149 additions and 329 deletions
|
@ -1,42 +0,0 @@
|
|||
#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 COLORS "\033[31m<> \033[32m<> \033[33m<> \033[34m<> \033[35m<> \033[36m<>\033[0m"
|
||||
#define FONT_COLOR "\033[1;37m"
|
||||
#define BAR_WIDTH 10
|
||||
/* Uncomment if you use firacode font */
|
||||
/* #define FIRA_CODE */
|
||||
|
||||
/* Full path to capacity file */
|
||||
/* Example: /sys/class/power_supply/battery/capacity */
|
||||
#define BATT_NAME NULL
|
||||
|
||||
#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},
|
||||
{" batt ", GetBattery},
|
||||
{" ", Blank},
|
||||
{COLORS, Blank}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,35 +0,0 @@
|
|||
#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 COLORS " \033[31mx \033[32mx \033[33mx \033[34mx \033[35mx \033[0m"
|
||||
#define FONT_COLOR "\033[1;37m"
|
||||
#define BAR_WIDTH 10
|
||||
/* Uncomment if you use firacode font */
|
||||
/* #define FIRA_CODE */
|
||||
|
||||
/* Full path to capacity file */
|
||||
/* Example: /sys/class/power_supply/battery/capacity */
|
||||
#define BATT_NAME NULL
|
||||
|
||||
#ifdef _MAIN_H
|
||||
PARAMETR CONFIG[] = {
|
||||
{" ", Blank},
|
||||
{"\033[1;31m ", PrintOs},
|
||||
{" ", GetKernel},
|
||||
{" ", GetUptime},
|
||||
{" ", GetPkg},
|
||||
{" ", Blank},
|
||||
{COLORS, Blank}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,35 +0,0 @@
|
|||
#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 COLORS " \033[31mx \033[32mx \033[33mx \033[34mx \033[35mx \033[0m"
|
||||
#define FONT_COLOR "\033[1;37m"
|
||||
#define BAR_WIDTH 10
|
||||
/* Uncomment if you use firacode font */
|
||||
/* #define FIRA_CODE */
|
||||
|
||||
/* Full path to capacity file */
|
||||
/* Example: /sys/class/power_supply/battery/capacity */
|
||||
#define BATT_NAME NULL
|
||||
|
||||
#ifdef _MAIN_H
|
||||
PARAMETR CONFIG[] = {
|
||||
{" ", Blank},
|
||||
{" arch ", GetArch},
|
||||
{" upt ", GetUptime},
|
||||
{" pkgs ", GetPkg},
|
||||
{" os ", PrintOs},
|
||||
{" ", Blank},
|
||||
{COLORS, Blank}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,44 +0,0 @@
|
|||
#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 COLORS " \033[41;31m++ \033[42;32m++ \033[43;33m++ \033[44;34m++ \033[45;35m++ \033[46;36m++\033[0m"
|
||||
#define FONT_COLOR "\033[1;37m"
|
||||
#define BAR_WIDTH 10
|
||||
/* Uncomment if you use firacode font */
|
||||
/* #define FIRA_CODE */
|
||||
|
||||
/* Full path to capacity file */
|
||||
/* Example: /sys/class/power_supply/battery/capacity */
|
||||
#define BATT_NAME NULL
|
||||
|
||||
#ifdef _MAIN_H
|
||||
PARAMETR CONFIG[] = {
|
||||
{" pc: ", Blank},
|
||||
{" - mem ", GetMem},
|
||||
{" - kr ", GetKernel},
|
||||
{" - ar ", GetArch},
|
||||
{" - mod ", GetModel},
|
||||
{" - ht ", GetHostname},
|
||||
{" ", Blank},
|
||||
{" - info: ", Blank},
|
||||
{" - os ", PrintOs},
|
||||
{" - shl ", GetShell},
|
||||
{" - pkg ", GetPkg},
|
||||
{" - up ", GetUptime},
|
||||
{" - avg ", GetAVG},
|
||||
{" - bat ", GetBattery},
|
||||
{" ", Blank},
|
||||
{COLORS, Blank}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue