]> git.sur5r.net Git - i3/i3/blob - include/config.h
Introduced color setting.
[i3/i3] / include / config.h
1 #ifndef _CONFIG_H
2 #define _CONFIG_H
3
4 typedef struct Config Config;
5 extern Config config;
6
7 struct Config {
8         const char *terminal;
9         const char *font;
10
11         /* Color codes are stored here */
12         char *client_focused_background_active;
13         char *client_focused_background_inactive;
14         char *client_focused_text;
15         char *client_focused_border;
16         char *client_unfocused_background;
17         char *client_unfocused_text;
18         char *client_unfocused_border;
19         char *bar_focused_background;
20         char *bar_focused_text;
21         char *bar_focused_border;
22         char *bar_unfocused_background;
23         char *bar_unfocused_text;
24         char *bar_unfocused_border;
25 };
26
27 /**
28  * Reads the configuration from ~/.i3/config or /etc/i3/config if not found.
29  *
30  * If you specify override_configpath, only this path is used to look for a
31  * configuration file.
32  *
33  */
34 void load_configuration(const char *override_configfile);
35
36 #endif