forked from ss7m/paleofetch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.h
35 lines (32 loc) · 1.12 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include "logos/term1.h"
#define COLOR "\e[1;35m"
#define CONFIG \
{ \
/* name function cached */\
{ "", get_title, false }, \
{ " os ~ ", get_os, true }, \
{ " sh ~ ", get_shell, true }, \
{ " up ~ ", get_uptime, false }, \
{ " bat ~ ", get_battery_percentage, false }, \
{ " res ~ ", get_resolution, true }, \
{ " cpu ~ ", get_cpu, true }, \
{ " gpu ~ ", get_gpu1, true }, \
{ " mem ~ ", get_memory, false }, \
{ "kern ~ ", get_kernel, true }, \
{ "pkgs ~ ", get_packages_pacman, false }, \
{ "term ~ ", get_terminal, false }, \
{ "host ~ ", get_host, true }, \
SPACER \
{ "", get_colors1, false }, \
{ "", get_colors2, false }, \
}
#define CPU_CONFIG \
{ \
REMOVE("with"), \
REMOVE("Radeon"), \
REMOVE("Graphics"), \
}
#define GPU_CONFIG \
{ \
REMOVE("Corporation"), \
}