summaryrefslogtreecommitdiff
path: root/i3status.h
blob: 2d6ce815d6a9dd1a3df802824b81740a1e427832 (plain)
1
2
3
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 };