]> git.sur5r.net Git - i3/i3status/blob - config.h
Add code for getting process status (running/not) and load on NetBSD
[i3/i3status] / config.h
1 #include <stdbool.h>
2
3 #ifndef _CONFIG_H
4 #define _CONFIG_H
5
6 enum { ORDER_RUN, ORDER_WLAN, ORDER_ETH, ORDER_BATTERY, ORDER_LOAD, ORDER_TIME, MAX_ORDER };
7
8 #ifndef _IS_CONFIG_C /* Definitions for everybody */
9 extern const char *wlan_interface;
10 extern const char *eth_interface;
11 extern const char *wmii_path;
12 extern const char *time_format;
13 extern const char *battery_path;
14 extern const char **run_watches;
15 extern unsigned int num_run_watches;
16 extern const char *wmii_normcolors;
17 extern const char order[MAX_ORDER][2];
18 extern unsigned int interval;
19
20 extern bool use_colors;
21 extern bool get_ethspeed;
22 #endif
23
24 char *glob_path(const char *path);
25 int load_configuration(const char *configfile);
26
27 #endif