mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
feat: add istagsilent option to windowrule
This commit is contained in:
parent
9ec80f0918
commit
053f9976a6
2 changed files with 14 additions and 6 deletions
|
|
@ -46,6 +46,7 @@ typedef struct {
|
|||
const char *layer_animation_type_close;
|
||||
int isnoborder;
|
||||
int isopensilent;
|
||||
int istagsilent;
|
||||
int isnamedscratchpad;
|
||||
int isunglobal;
|
||||
int isglobal;
|
||||
|
|
@ -1409,6 +1410,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isfullscreen = -1;
|
||||
rule->isnoborder = -1;
|
||||
rule->isopensilent = -1;
|
||||
rule->istagsilent = -1;
|
||||
rule->isnamedscratchpad = -1;
|
||||
rule->isunglobal = -1;
|
||||
rule->isglobal = -1;
|
||||
|
|
@ -1486,6 +1488,8 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isnoborder = atoi(val);
|
||||
} else if (strcmp(key, "isopensilent") == 0) {
|
||||
rule->isopensilent = atoi(val);
|
||||
} else if (strcmp(key, "istagsilent") == 0) {
|
||||
rule->istagsilent = atoi(val);
|
||||
} else if (strcmp(key, "isnamedscratchpad") == 0) {
|
||||
rule->isnamedscratchpad = atoi(val);
|
||||
} else if (strcmp(key, "isunglobal") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue