1
0
Fork 0
forked from wry/wry

config: add workspace window criteria

This commit is contained in:
Julian Orth 2025-05-03 14:13:40 +02:00
parent 5ad6ca4dd3
commit 51e752992f
13 changed files with 88 additions and 3 deletions

View file

@ -1851,6 +1851,14 @@
"x-role-regex": {
"type": "string",
"description": "Matches the X role of the window with a regular expression."
},
"workspace": {
"type": "string",
"description": "Matches the workspace of the window verbatim."
},
"workspace-regex": {
"type": "string",
"description": "Matches the workspace of the window with a regular expression."
}
},
"required": []

View file

@ -4121,6 +4121,18 @@ The table has the following fields:
The value of this field should be a string.
- `workspace` (optional):
Matches the workspace of the window verbatim.
The value of this field should be a string.
- `workspace-regex` (optional):
Matches the workspace of the window with a regular expression.
The value of this field should be a string.
<a name="types-WindowMatchExactly"></a>
### `WindowMatchExactly`

View file

@ -3543,6 +3543,14 @@ WindowMatch:
kind: string
required: false
description: Matches the X role of the window with a regular expression.
workspace:
kind: string
required: false
description: Matches the workspace of the window verbatim.
workspace-regex:
kind: string
required: false
description: Matches the workspace of the window with a regular expression.
WindowMatchExactly: