X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=wmiistatus.h;h=2d6ce815d6a9dd1a3df802824b81740a1e427832;hb=26d973472bee344dfb90e3a166272390bcceaff9;hp=e9d4445923267b4da93dce77a0331499a420fa9b;hpb=6f705c20decfca58aa1cd2e6c459aae01f50b318;p=i3%2Fi3status diff --git a/wmiistatus.h b/wmiistatus.h index e9d4445..2d6ce81 100644 --- a/wmiistatus.h +++ b/wmiistatus.h @@ -1,14 +1,4 @@ #define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0) typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; - -static void cleanup_rbar_dir(void); -static void write_to_statusbar(const char *name, const char *message); -static void write_error_to_statusbar(const char *message); -static void die(const char *fmt, ...); -static char *skip_character(char *input, char character, int amount); -static char *get_battery_info(void); -static char *get_wireless_info(void); -static char *get_ip_address(const char *interface); -static char *get_eth_info(void); -static bool process_runs(const char *path); +enum { ORDER_RUN, ORDER_WLAN, ORDER_ETH, ORDER_BATTERY, ORDER_LOAD, ORDER_TIME, MAX_ORDER };