config: add comm client criteria
This commit is contained in:
parent
bdabb7bbdd
commit
cc734a135c
12 changed files with 73 additions and 2 deletions
|
|
@ -571,6 +571,14 @@
|
|||
"is-xwayland": {
|
||||
"type": "boolean",
|
||||
"description": "Matches if the client is/isn't Xwayland."
|
||||
},
|
||||
"comm": {
|
||||
"type": "string",
|
||||
"description": "Matches the `/proc/pid/comm` of the client verbatim."
|
||||
},
|
||||
"comm-regex": {
|
||||
"type": "string",
|
||||
"description": "Matches the `/proc/pid/comm` of the client with a regular expression."
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
|
|
|
|||
|
|
@ -893,6 +893,18 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `comm` (optional):
|
||||
|
||||
Matches the `/proc/pid/comm` of the client verbatim.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
- `comm-regex` (optional):
|
||||
|
||||
Matches the `/proc/pid/comm` of the client with a regular expression.
|
||||
|
||||
The value of this field should be a string.
|
||||
|
||||
|
||||
<a name="types-ClientMatchExactly"></a>
|
||||
### `ClientMatchExactly`
|
||||
|
|
|
|||
|
|
@ -3251,6 +3251,14 @@ ClientMatch:
|
|||
kind: boolean
|
||||
required: false
|
||||
description: Matches if the client is/isn't Xwayland.
|
||||
comm:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the `/proc/pid/comm` of the client verbatim.
|
||||
comm-regex:
|
||||
kind: string
|
||||
required: false
|
||||
description: Matches the `/proc/pid/comm` of the client with a regular expression.
|
||||
|
||||
|
||||
ClientMatchExactly:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue