diff options
Diffstat (limited to 'paleofetch/paleofetch.h')
| -rw-r--r-- | paleofetch/paleofetch.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/paleofetch/paleofetch.h b/paleofetch/paleofetch.h new file mode 100644 index 0000000..0e4578f --- /dev/null +++ b/paleofetch/paleofetch.h @@ -0,0 +1,27 @@ +/* Forward-declare our functions so users can mention them in their + * configs at the top of the file rather than near the bottom. */ + +static char *get_title(), + *get_bar(), + *get_os(), + *get_kernel(), + *get_host(), + *get_uptime(), + *get_battery_percentage(), + *get_packages_pacman(), + *get_shell(), + *get_resolution(), + *get_terminal(), + *get_cpu(), + *get_gpu1(), + *get_gpu2(), + *get_memory(), + *get_disk_usage_root(), + *get_disk_usage_home(), + *get_colors1(), + *get_colors2(), + *spacer(); + +#define SPACER {"", spacer, false}, +#define REMOVE(A) { (A), NULL, sizeof(A) - 1 , 0 } +#define REPLACE(A, B) { (A), (B), sizeof(A) - 1, sizeof(B) - 1 } |