summaryrefslogtreecommitdiff
path: root/paleofetch/config.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2021-04-21 19:36:08 +0000
committerstkhan <personal@slickd.xyz>2021-04-21 19:36:08 +0000
commit661cc0a02fb3d38440ad8c1e295fdbde9c1299d8 (patch)
treef66f68dc51e04a1cacb3d609be5fa0c83ba876c1 /paleofetch/config.h
parentfe2168b902a1775ae50041710b79d7751237f1ce (diff)
Added paleofetch
Diffstat (limited to 'paleofetch/config.h')
-rw-r--r--paleofetch/config.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/paleofetch/config.h b/paleofetch/config.h
new file mode 100644
index 0000000..c788258
--- /dev/null
+++ b/paleofetch/config.h
@@ -0,0 +1,43 @@
+#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, false }, \
+ { "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"), \
+}
+