config: add toplevel-tag window criteria
This commit is contained in:
parent
5f1268cada
commit
6d3d4dcabb
15 changed files with 106 additions and 8 deletions
|
|
@ -1819,6 +1819,14 @@
|
|||
"just-mapped": {
|
||||
"type": "boolean",
|
||||
"description": "Matches if the window has/hasn't just been mapped.\n\nThis is true for one iteration of the compositor's main loop immediately after the\nwindow has been mapped.\n"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string",
|
||||
"description": "Matches the toplevel-tag of the window verbatim."
|
||||
},
|
||||
"tag-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the toplevel-tag of the window with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -4073,6 +4073,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `tag` (optional):
|
||||
|
||||
Matches the toplevel-tag of the window verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `tag-regex` (optional):
|
||||
|
||||
Matches the toplevel-tag of the window with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-WindowMatchExactly"></a>
|
||||
### `WindowMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3511,6 +3511,14 @@ WindowMatch:
|
|||
|
||||
This is true for one iteration of the compositor's main loop immediately after the
|
||||
window has been mapped.
|
||||
tag:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the toplevel-tag of the window verbatim.
|
||||
tag-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the toplevel-tag of the window with a regular expression.
|
||||
|
||||
|
||||
WindowMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue