diff --git a/config.conf b/config.conf index fab133a..ba693fb 100644 --- a/config.conf +++ b/config.conf @@ -90,15 +90,15 @@ globalcolor=0xb153a7ff overlaycolor=0x14a57cff # layout support: tile,scroller,grid,monocle,spiral,dwindle -tags=id:1,layout_name:tile -tags=id:2,layout_name:tile -tags=id:3,layout_name:tile -tags=id:4,layout_name:tile -tags=id:5,layout_name:tile -tags=id:6,layout_name:tile -tags=id:7,layout_name:tile -tags=id:8,layout_name:tile -tags=id:9,layout_name:tile +tagrule=id:1,layout_name:tile +tagrule=id:2,layout_name:tile +tagrule=id:3,layout_name:tile +tagrule=id:4,layout_name:tile +tagrule=id:5,layout_name:tile +tagrule=id:6,layout_name:tile +tagrule=id:7,layout_name:tile +tagrule=id:8,layout_name:tile +tagrule=id:9,layout_name:tile # Key Bindings # key name refer to `xev` or `wev` command output, diff --git a/src/config/parse_config.h b/src/config/parse_config.h index 35c9d4b..dfca939 100644 --- a/src/config/parse_config.h +++ b/src/config/parse_config.h @@ -1035,7 +1035,7 @@ void parse_config_line(Config *config, const char *line) { trim_whitespace(config->autostart[0]); trim_whitespace(config->autostart[1]); trim_whitespace(config->autostart[2]); - } else if (strcmp(key, "tags") == 0) { + } else if (strcmp(key, "tagrule") == 0) { config->tag_rules = realloc(config->tag_rules, (config->tag_rules_count + 1) * sizeof(ConfigTagRule));