1
0
Fork 0
forked from wry/wry

config: add WM_WINDOW_ROLE window criteria

This commit is contained in:
Julian Orth 2025-05-03 14:01:39 +02:00
parent faa0b27ef8
commit 5ad6ca4dd3
14 changed files with 81 additions and 6 deletions

View file

@ -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": []

View file

@ -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`

View file

@ -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: