mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
colors are now configurable per screen
This commit is contained in:
parent
ceb6cc797a
commit
9d6a985a02
2 changed files with 11 additions and 12 deletions
19
awesomerc
19
awesomerc
|
@ -10,18 +10,17 @@ general
|
|||
font = "fixed-12"
|
||||
}
|
||||
|
||||
colors
|
||||
{
|
||||
normal_border = "#111111"
|
||||
normal_bg = "#111111"
|
||||
normal_fg = "#eeeeee"
|
||||
focus_border = "#6666ff"
|
||||
focus_bg = "#6666ff"
|
||||
focus_fg = "#ffffff"
|
||||
}
|
||||
|
||||
screen 0
|
||||
{
|
||||
colors
|
||||
{
|
||||
normal_border = "#111111"
|
||||
normal_bg = "#111111"
|
||||
normal_fg = "#eeeeee"
|
||||
focus_border = "#6666ff"
|
||||
focus_bg = "#6666ff"
|
||||
focus_fg = "#ffffff"
|
||||
}
|
||||
statusbar
|
||||
{
|
||||
position = "top"
|
||||
|
|
4
config.c
4
config.c
|
@ -199,6 +199,7 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
|
|||
{
|
||||
CFG_SEC((char *) "statusbar", statusbar_opts, CFGF_NONE),
|
||||
CFG_SEC((char *) "tags", tags_opts, CFGF_NONE),
|
||||
CFG_SEC((char *) "colors", colors_opts, CFGF_NONE),
|
||||
};
|
||||
static cfg_opt_t rule_opts[] =
|
||||
{
|
||||
|
@ -229,7 +230,6 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
|
|||
static cfg_opt_t opts[] =
|
||||
{
|
||||
CFG_SEC((char *) "general", general_opts, CFGF_NONE),
|
||||
CFG_SEC((char *) "colors", colors_opts, CFGF_NONE),
|
||||
CFG_SEC((char *) "screen", screen_opts, CFGF_TITLE | CFGF_MULTI),
|
||||
CFG_SEC((char *) "layouts", layouts_opts, CFGF_NONE),
|
||||
CFG_SEC((char *) "rules", rules_opts, CFGF_NONE),
|
||||
|
@ -280,10 +280,10 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf)
|
|||
/* get screen specific sections */
|
||||
cfg_statusbar = cfg_getsec(cfg_screen, "statusbar");
|
||||
cfg_tags = cfg_getsec(cfg_screen, "tags");
|
||||
cfg_colors = cfg_getsec(cfg_screen, "colors");
|
||||
|
||||
/* get general sections */
|
||||
cfg_general = cfg_getsec(cfg, "general");
|
||||
cfg_colors = cfg_getsec(cfg, "colors");
|
||||
cfg_layouts = cfg_getsec(cfg, "layouts");
|
||||
cfg_rules = cfg_getsec(cfg, "rules");
|
||||
cfg_keys = cfg_getsec(cfg, "keys");
|
||||
|
|
Loading…
Reference in a new issue