kfetch/themes/mini.h

36 lines
690 B
C
Raw Normal View History

2024-01-03 12:24:33 +00:00
#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"
2024-01-03 15:02:19 +00:00
#define BAR_WIDTH 10
2024-01-03 15:27:09 +00:00
/* Uncomment if you use firacode font */
/* #define FIRA_CODE */
2024-01-03 15:02:19 +00:00
/* Full path to capacity file */
/* Example: /sys/class/power_supply/battery/capacity */
#define BATT_NAME NULL
2024-01-03 12:24:33 +00:00
#ifdef _MAIN_H
PARAMETR CONFIG[] = {
{" ", Blank},
{" arch ", GetArch},
{" upt ", GetUptime},
{" pkgs ", GetPkg},
{" os ", PrintOs},
{" ", Blank},
{COLORS, Blank}
};
#endif
#endif