forked from otreblan/paleofetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.h
42 lines (39 loc) · 1.27 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
36
37
38
39
40
41
42
#include "logos/arch.h"
#define COLOR "\e[1;36m"
#define CONFIG \
{ \
/* name function cached */\
{ "", get_title, false }, \
{ "", get_bar, false }, \
{ "OS: ", get_os, true }, \
{ "Host: ", get_host, true }, \
{ "Kernel: ", get_kernel, true }, \
{ "Uptime: ", get_uptime, false }, \
SPACER \
{ "Packages: ", get_packages_pacman, false }, \
{ "Shell: ", get_shell, false }, \
{ "Resolution: ", get_resolution, false }, \
{ "Terminal: ", get_terminal, false }, \
SPACER \
{ "CPU: ", get_cpu, true }, \
{ "GPU: ", get_gpu1, true }, \
{ "Memory: ", get_memory, false }, \
SPACER \
{ "", get_colors1, false }, \
{ "", get_colors2, false }, \
}
#define CPU_CONFIG \
{ \
REMOVE("(R)"), \
REMOVE("(TM)"), \
REMOVE("Dual-Core"), \
REMOVE("Quad-Core"), \
REMOVE("Six-Core"), \
REMOVE("Eight-Core"), \
REMOVE("Core"), \
REMOVE("CPU"), \
}
#define GPU_CONFIG \
{ \
REMOVE("Corporation"), \
}