diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:45:52 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:45:52 +0200 |
commit | 7fa8c4b9a954647db79f79b78b33d79c00acd250 (patch) | |
tree | cdd25efa79a1c098ea2daf963ba2d2b4c951703d /config.h | |
parent | e94e25208936ab8f6ab684b1b229bc29073b955d (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.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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" |