config: add WM_WINDOW_ROLE window criteria
This commit is contained in:
parent
faa0b27ef8
commit
5ad6ca4dd3
14 changed files with 81 additions and 6 deletions
|
|
@ -1843,6 +1843,14 @@
|
|||
"x-instance-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the X instance of the window with a regular expression."
|
||||
},
|
||||
"x-role": {
|
||||
"type": "string",
|
||||
"description": "Matches the X role of the window verbatim."
|
||||
},
|
||||
"x-role-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the X role of the window with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -4109,6 +4109,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-role` (optional):
|
||||
|
||||
Matches the X role of the window verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-role-regex` (optional):
|
||||
|
||||
Matches the X role of the window with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-WindowMatchExactly"></a>
|
||||
### `WindowMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3535,6 +3535,14 @@ WindowMatch:
|
|||
kind: string
|
||||
required: false
|
||||
description: Matches the X instance of the window with a regular expression.
|
||||
x-role:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X role of the window verbatim.
|
||||
x-role-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X role of the window with a regular expression.
|
||||
|
||||
|
||||
WindowMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue