summaryrefslogtreecommitdiff
path: root/i3status.h
diff options
context:
space:
mode:
Diffstat (limited to 'i3status.h')
-rw-r--r--i3status.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/i3status.h b/i3status.h
index 9edea15..5d42881 100644
--- a/i3status.h
+++ b/i3status.h
@@ -11,7 +11,7 @@
#define generate(orderidx, name, function) \
do { \
- write_to_statusbar(order_to_str(order[orderidx], name), function, (j == (MAX_ORDER-1))); \
+ write_to_statusbar(order_to_str(order[orderidx], name), function, (j == (highest_order-1))); \
} while (0)
#define generate_order(condition, orderidx, name, function) \
@@ -63,6 +63,8 @@ extern struct battery_head batteries;
/* socket file descriptor for general purposes */
extern int general_socket;
+extern int highest_order;
+
extern const char *wlan_interface;
extern const char *eth_interface;
extern const char *wmii_path;