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.

27 lines
853 B

4 years ago
  1. /* Forward-declare our functions so users can mention them in their
  2. * configs at the top of the file rather than near the bottom. */
  3. static char *get_title(),
  4. *get_bar(),
  5. *get_os(),
  6. *get_kernel(),
  7. *get_host(),
  8. *get_uptime(),
  9. *get_battery_percentage(),
  10. *get_packages_pacman(),
  11. *get_shell(),
  12. *get_resolution(),
  13. *get_terminal(),
  14. *get_cpu(),
  15. *get_gpu1(),
  16. *get_gpu2(),
  17. *get_memory(),
  18. *get_disk_usage_root(),
  19. *get_disk_usage_home(),
  20. *get_colors1(),
  21. *get_colors2(),
  22. *spacer();
  23. #define SPACER {"", spacer, false},
  24. #define REMOVE(A) { (A), NULL, sizeof(A) - 1 , 0 }
  25. #define REPLACE(A, B) { (A), (B), sizeof(A) - 1, sizeof(B) - 1 }