i3/include/config.h

37 lines
856 B
C
Raw Normal View History

2009-02-24 18:50:30 -05:00
#ifndef _CONFIG_H
#define _CONFIG_H
typedef struct Config Config;
extern Config config;
struct Config {
const char *terminal;
const char *font;
2009-05-29 10:33:48 -04:00
/* Color codes are stored here */
char *client_focused_background_active;
char *client_focused_background_inactive;
char *client_focused_text;
char *client_focused_border;
char *client_unfocused_background;
char *client_unfocused_text;
char *client_unfocused_border;
char *bar_focused_background;
char *bar_focused_text;
char *bar_focused_border;
char *bar_unfocused_background;
char *bar_unfocused_text;
char *bar_unfocused_border;
2009-02-24 18:50:30 -05:00
};
/**
* Reads the configuration from ~/.i3/config or /etc/i3/config if not found.
*
* If you specify override_configpath, only this path is used to look for a
* configuration file.
*
*/
void load_configuration(const char *override_configfile);
2009-02-24 18:50:30 -05:00
#endif