diff --git a/awesomerc b/awesomerc index d8b3ebe99..980ce7c6e 100644 --- a/awesomerc +++ b/awesomerc @@ -66,25 +66,24 @@ screen 0 layout = "floating" } } -} - -layouts -{ - layout tile + layouts { - symbol = "[]=" - } - layout tileleft - { - symbol = "=[]" - } - layout max - { - symbol = "[ ]" - } - layout floating - { - symbol = "><>" + layout tile + { + symbol = "[]=" + } + layout tileleft + { + symbol = "=[]" + } + layout max + { + symbol = "[ ]" + } + layout floating + { + symbol = "><>" + } } } diff --git a/config.c b/config.c index abe7942c6..f0d571cd2 100644 --- a/config.c +++ b/config.c @@ -201,6 +201,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), + CFG_SEC((char *) "layouts", layouts_opts, CFGF_NONE), }; static cfg_opt_t rule_opts[] = { @@ -231,7 +232,6 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf) static cfg_opt_t opts[] = { 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), CFG_SEC((char *) "keys", keys_opts, CFGF_NONE), CFG_END() @@ -282,9 +282,9 @@ parse_config(const char *confpatharg, awesome_config *awesomeconf) cfg_tags = cfg_getsec(cfg_screen, "tags"); cfg_colors = cfg_getsec(cfg_screen, "colors"); cfg_general = cfg_getsec(cfg_screen, "general"); + cfg_layouts = cfg_getsec(cfg_screen, "layouts"); /* get general sections */ - cfg_layouts = cfg_getsec(cfg, "layouts"); cfg_rules = cfg_getsec(cfg, "rules"); cfg_keys = cfg_getsec(cfg, "keys");