config: allow running commands privileged
This commit is contained in:
parent
4558bdb7c1
commit
affea49e49
11 changed files with 74 additions and 5 deletions
|
|
@ -677,6 +677,10 @@
|
|||
"type": "string",
|
||||
"description": ""
|
||||
}
|
||||
},
|
||||
"privileged": {
|
||||
"type": "boolean",
|
||||
"description": "If `true`, the executable gets access to privileged wayland protocols.\n\nThe default is `false`.\n"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
|
|
@ -1308,6 +1308,14 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a table whose values are strings.
|
||||
|
||||
- `privileged` (optional):
|
||||
|
||||
If `true`, the executable gets access to privileged wayland protocols.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
|
||||
<a name="types-GfxApi"></a>
|
||||
### `GfxApi`
|
||||
|
|
|
|||
|
|
@ -583,6 +583,13 @@ Exec:
|
|||
values:
|
||||
kind: string
|
||||
description: The environment variables to pass to the executable.
|
||||
privileged:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
If `true`, the executable gets access to privileged wayland protocols.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
|
||||
SimpleActionName:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue