From 7fa8c4b9a954647db79f79b78b33d79c00acd250 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 7 Oct 2008 11:45:52 +0200 Subject: 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 --- config.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'config.h') 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" -- cgit v1.2.3