diff options
author | ZoRo <dos21h@gmail.com> | 2020-04-05 16:31:20 +0100 |
---|---|---|
committer | ZoRo <dos21h@gmail.com> | 2020-04-05 16:31:20 +0100 |
commit | de58c2e89c6d38ae21e12b83902defa171b0b635 (patch) | |
tree | 632d661b8f3eb686bfd1788e7148044ef1fe8431 /dwmstatus.h | |
download | dwmstatus-pixel-master.tar.gz dwmstatus-pixel-master.zip |
Diffstat (limited to 'dwmstatus.h')
-rw-r--r-- | dwmstatus.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dwmstatus.h b/dwmstatus.h new file mode 100644 index 0000000..23a2951 --- /dev/null +++ b/dwmstatus.h @@ -0,0 +1,36 @@ +#ifndef __DWMSTATUS_H +#define __DWMSTATUS_H + +#include "kconfig.h" +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <stdint.h> +#include <time.h> +#include <errno.h> + +#ifdef CONFIG_STATUS_UTF8 +#include <locale.h> +#include <wchar.h> +#endif + +#ifdef CONFIG_DEBUG_MODE +#include <assert.h> +#define ASSERT assert +#else +#define ASSERT(X) +#endif + +typedef struct bbuf +{ + int size; + char *str; +} bbuf; + +int print_date( bbuf* ); +int print_time( bbuf* ); +int print_temp( bbuf* ); +int print_batt( bbuf* ); +int print_cpu( bbuf* ); + +#endif |