summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h24
1 files changed, 15 insertions, 9 deletions
diff --git a/include/i3status.h b/include/i3status.h
index e1b11f9..a0e1e31 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -1,17 +1,23 @@
#ifndef _I3STATUS_H
#define _I3STATUS_H
-enum { O_DZEN2,
- O_XMOBAR,
- O_I3BAR,
- O_LEMONBAR,
- O_TERM,
- O_NONE } output_format;
+typedef enum {
+ O_DZEN2,
+ O_XMOBAR,
+ O_I3BAR,
+ O_LEMONBAR,
+ O_TERM,
+ O_NONE
+} output_format_t;
+extern output_format_t output_format;
-enum { M_PANGO,
- M_NONE } markup_format;
+typedef enum {
+ M_PANGO,
+ M_NONE
+} markup_format_t;
+extern markup_format_t markup_format;
-char *pct_mark;
+extern char *pct_mark;
#include <stdbool.h>
#include <confuse.h>