mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-06 13:29:53 -05:00
feat: add isoverlay to winrule option
This commit is contained in:
parent
b539b4bf9a
commit
c835f8e35b
2 changed files with 12 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ typedef struct {
|
|||
int isopenscratchpad;
|
||||
int isunglobal;
|
||||
int isglobal;
|
||||
int isoverlay;
|
||||
int monitor;
|
||||
int offsetx;
|
||||
int offsety;
|
||||
|
|
@ -1077,6 +1078,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isopenscratchpad = -1;
|
||||
rule->isunglobal = -1;
|
||||
rule->isglobal = -1;
|
||||
rule->isoverlay = -1;
|
||||
rule->isterm = -1;
|
||||
rule->noswallow = -1;
|
||||
rule->monitor = -1;
|
||||
|
|
@ -1141,6 +1143,8 @@ void parse_config_line(Config *config, const char *line) {
|
|||
rule->isunglobal = atoi(val);
|
||||
} else if (strcmp(key, "isglobal") == 0) {
|
||||
rule->isglobal = atoi(val);
|
||||
} else if (strcmp(key, "isoverlay") == 0) {
|
||||
rule->isoverlay = atoi(val);
|
||||
} else if (strcmp(key, "isterm") == 0) {
|
||||
rule->isterm = atoi(val);
|
||||
} else if (strcmp(key, "noswallow") == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue