mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
change: tags keyword change to tagrule
This commit is contained in:
parent
54974d498b
commit
0143d61b58
2 changed files with 10 additions and 10 deletions
18
config.conf
18
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,
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue