summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael+x200@stapelberg.de>2008-10-07 11:45:52 +0200
committerMichael Stapelberg <michael+x200@stapelberg.de>2008-10-07 11:45:52 +0200
commit7fa8c4b9a954647db79f79b78b33d79c00acd250 (patch)
treecdd25efa79a1c098ea2daf963ba2d2b4c951703d /config.h
parente94e25208936ab8f6ab684b1b229bc29073b955d (diff)
Write information in separate files, define order
wmii will show them with little border between, better than the previous method, where an ascii bar was shown
Diffstat (limited to 'config.h')
-rw-r--r--config.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.h b/config.h
index baaa240..8b4f01e 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,14 @@
const char *wlan_interface = "wlan0";
const char *eth_interface = "eth0";
-const char *wmii_path = "/mnt/wmii/rbar/status";
+/* wmii_path has to be terminated by slash */
+const char *wmii_path = "/mnt/wmii/rbar/";
const char *time_format = "%d.%m.%Y %H:%M:%S";
const char *battery = "/sys/class/power_supply/BAT0/uevent";
const char *run_watches[] = {"DHCP", "/var/run/dhclient.pid",
"VPN", "/var/run/vpnc*.pid"};
+
+#define ORDER_WLAN "0"
+#define ORDER_ETH "1"
+#define ORDER_BATTERY "2"
+#define ORDER_LOAD "3"
+#define ORDER_TIME "4"