paleofetch

mrgrouse's paleofetch fork, a system fetch tool written in C, inspired by suckless' programming style.
Log | Files | Refs | README | LICENSE

paleofetch.h (853B)


      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 
      4 static char *get_title(),
      5             *get_bar(),
      6             *get_os(),
      7             *get_kernel(),
      8             *get_host(),
      9             *get_uptime(),
     10             *get_battery_percentage(),
     11             *get_packages_pacman(),
     12             *get_shell(),
     13             *get_resolution(),
     14             *get_terminal(),
     15             *get_cpu(),
     16             *get_gpu1(),
     17             *get_gpu2(),
     18             *get_memory(),
     19             *get_disk_usage_root(),
     20             *get_disk_usage_home(),
     21             *get_colors1(),
     22             *get_colors2(),
     23             *spacer();
     24 
     25 #define SPACER {"", spacer, false},
     26 #define REMOVE(A) { (A), NULL, sizeof(A) - 1 , 0 }
     27 #define REPLACE(A, B) { (A), (B), sizeof(A) - 1, sizeof(B) - 1 }