This commit is contained in:
Your Name 2024-01-03 15:24:33 +03:00
parent a3a17c2b8b
commit 410f8ec2e8
6 changed files with 42 additions and 25 deletions

View file

@ -11,7 +11,6 @@ typedef struct {
/* 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 PC_CHAR "<>"
/* #define PRINT_TOTAL_MEM */
/* #define PRINT_USER_MEM */

View file

@ -11,7 +11,6 @@ typedef struct {
/* Config, EDIT THERE */
#define COLORS " \033[31mx \033[32mx \033[33mx \033[34mx \033[35mx \033[0m"
#define FONT_COLOR "\033[1;37m"
#define PC_CHAR "<>"
/* #define PRINT_TOTAL_MEM */
/* #define PRINT_USER_MEM */

32
themes/mini.h Normal file
View file

@ -0,0 +1,32 @@
#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 PRINT_TOTAL_MEM */
/* #define PRINT_USER_MEM */
#define PRINT_USED_AND_TOTAL_MEM
#ifdef _MAIN_H
PARAMETR CONFIG[] = {
{" ", Blank},
{" arch ", GetArch},
{" upt ", GetUptime},
{" pkgs ", GetPkg},
{" os ", PrintOs},
{" ", Blank},
{COLORS, Blank}
};
#endif
#endif

View file

@ -11,7 +11,6 @@ typedef struct {
/* 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 PC_CHAR "<>"
/* #define PRINT_TOTAL_MEM */
/* #define PRINT_USER_MEM */