kfetch/config.h

31 lines
941 B
C
Raw Normal View History

2023-11-02 14:51:10 +00:00
#ifndef _CONFIG_H
#define _CONFIG_H
2023-10-18 21:16:57 +00:00
2023-11-02 14:51:10 +00:00
#include "fetch.h"
2024-06-07 11:41:51 +00:00
#include "structs.h"
2023-11-02 14:51:10 +00:00
/* Config, EDIT THERE */
2024-06-24 14:12:57 +00:00
#define COLORS " \033[31m<> \033[32m<> \033[33m<> \033[34m<> \033[35m<> \033[36m<>\033[0m"
2024-06-07 11:41:51 +00:00
#define FONT_COLOR "\033[1;37m"
2024-01-03 14:46:33 +00:00
2024-06-07 11:41:51 +00:00
#ifdef _MAIN_C
2023-12-15 15:17:49 +00:00
PARAMETR CONFIG[] = {
2024-06-24 14:12:57 +00:00
{PrintOs, {.str0=" os ", .str1=NULL}},
{GetKernel, {.str0=" kr ", .str1=NULL}},
{GetUser, {.str0=" usr ", .str1=NULL}},
{GetUptime, {.str0=" upt ", .str1=NULL}},
{GetArch, {.str0=" arch ", .str1=NULL}},
{GetShell, {.str0="shell ", .str1=NULL}},
{GetPkg, {.str0=" pkgs ", .str1=NULL}},
{GetMem, {.str0=" mem ", .str1=NULL}},
{GetModel, {.str0="model ", .str1=NULL}},
{GetHostname, {.str0=" host ", .str1=NULL}},
{GetAVG, {.str0=" AVG ", .str1=NULL}},
{Blank, {.str0=" ", .str1=NULL}},
{Execute, {.str0=" Id's ", .str1=NULL, .str2="id -gn"}},
{Blank, {.str0=COLORS, .str1=NULL}}
2023-10-18 21:16:57 +00:00
};
#endif
2023-12-15 15:17:49 +00:00
#endif