summaryrefslogtreecommitdiff
path: root/i3status.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael+x200@stapelberg.de>2009-04-17 13:17:58 +0200
committerMichael Stapelberg <michael+x200@stapelberg.de>2009-04-17 13:17:58 +0200
commit1bef3dca5b9ab404e017037ed309907e1ac796c3 (patch)
tree0fbe617fad18bab46eaf6b0e5fb75956cf5732f4 /i3status.h
parente4c017893c409b939789ca959f8668a648a45682 (diff)
Rename wmiistatus* to i3status*
Diffstat (limited to 'i3status.h')
-rw-r--r--i3status.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/i3status.h b/i3status.h
new file mode 100644
index 0000000..2d6ce81
--- /dev/null
+++ b/i3status.h
@@ -0,0 +1,4 @@
+#define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0)
+
+typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t;
+enum { ORDER_RUN, ORDER_WLAN, ORDER_ETH, ORDER_BATTERY, ORDER_LOAD, ORDER_TIME, MAX_ORDER };