diff options
| author | stkhan <personal@slickd.xyz> | 2021-04-21 19:36:08 +0000 |
|---|---|---|
| committer | stkhan <personal@slickd.xyz> | 2021-04-21 19:36:08 +0000 |
| commit | 661cc0a02fb3d38440ad8c1e295fdbde9c1299d8 (patch) | |
| tree | f66f68dc51e04a1cacb3d609be5fa0c83ba876c1 /paleofetch/paleofetch.h | |
| parent | fe2168b902a1775ae50041710b79d7751237f1ce (diff) | |
Added paleofetch
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 } |