forked from ss7m/paleofetch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.h
43 lines (40 loc) · 1.33 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
43
#include "logos/arch.h"
#define COLOR "\033[1;38;5;183m"
#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 }, \
{ "Packages: ", get_packages_pacman, false }, \
{ "Shell: ", get_shell, false }, \
{ "Resolution: ", get_resolution, false }, \
{ "Terminal: ", get_terminal, false }, \
{ "CPU: ", get_cpu, true }, \
{ "GPU: ", get_gpu, 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("6-Core Processor"), \
REMOVE("Eight-Core"), \
REMOVE("CPU"), \
}
#define GPU_CONFIG \
{ \
REMOVE("Corporation"), \
REMOVE("TU116"), \
REMOVE("["), \
REMOVE("]"), \
}