Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.0 KiB

4 years ago
  1. #include "logos/arch.h"
  2. #define COLOR "\033[0;34m"
  3. #define CONFIG \
  4. { \
  5. /* name function cached */\
  6. { "", get_title, false }, \
  7. { "", get_bar, false }, \
  8. { "OS: ", get_os, true }, \
  9. { "Kernel: ", get_kernel, true }, \
  10. { "Uptime: ", get_uptime, false }, \
  11. { "Shell: ", get_shell, false }, \
  12. { "Terminal: ", get_terminal, false }, \
  13. { "CPU: ", get_cpu, true }, \
  14. { "Memory: ", get_memory, false }, \
  15. SPACER \
  16. { "", get_colors1, false }, \
  17. { "", get_colors2, false }, \
  18. }
  19. #define CPU_CONFIG \
  20. { \
  21. REMOVE("(R)"), \
  22. REMOVE("(TM)"), \
  23. REMOVE("Dual-Core"), \
  24. REMOVE("Quad-Core"), \
  25. REMOVE("Six-Core"), \
  26. REMOVE("Eight-Core"), \
  27. REMOVE("Core"), \
  28. REMOVE("CPU"), \
  29. }
  30. #define GPU_CONFIG \
  31. { \
  32. REMOVE("Corporation"), \
  33. }