config: add WM_CLASS window criteria
This commit is contained in:
parent
6d3d4dcabb
commit
faa0b27ef8
15 changed files with 159 additions and 10 deletions
|
|
@ -1827,6 +1827,22 @@
|
|||
"tag-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the toplevel-tag of the window with a regular expression."
|
||||
},
|
||||
"x-class": {
|
||||
"type": "string",
|
||||
"description": "Matches the X class of the window verbatim."
|
||||
},
|
||||
"x-class-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the X class of the window with a regular expression."
|
||||
},
|
||||
"x-instance": {
|
||||
"type": "string",
|
||||
"description": "Matches the X instance of the window verbatim."
|
||||
},
|
||||
"x-instance-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the X instance of the window with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -4085,6 +4085,30 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-class` (optional):
|
||||
|
||||
Matches the X class of the window verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-class-regex` (optional):
|
||||
|
||||
Matches the X class of the window with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-instance` (optional):
|
||||
|
||||
Matches the X instance of the window verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `x-instance-regex` (optional):
|
||||
|
||||
Matches the X instance of the window with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-WindowMatchExactly"></a>
|
||||
### `WindowMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3519,6 +3519,22 @@ WindowMatch:
|
|||
kind: string
|
||||
required: false
|
||||
description: Matches the toplevel-tag of the window with a regular expression.
|
||||
x-class:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X class of the window verbatim.
|
||||
x-class-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X class of the window with a regular expression.
|
||||
x-instance:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X instance of the window verbatim.
|
||||
x-instance-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the X instance of the window with a regular expression.
|
||||
|
||||
|
||||
WindowMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue