mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-05-12 13:10:37 +01:00
permissions: add regex example
Some checks failed
Update Website / notify-parent-repo (push) Has been cancelled
Some checks failed
Update Website / notify-parent-repo (push) Has been cancelled
This commit is contained in:
parent
56a2fd3e2f
commit
61a1541074
1 changed files with 6 additions and 1 deletions
|
@ -43,6 +43,11 @@ permission = /usr/bin/grim, screencopy, allow
|
|||
```
|
||||
Will allow `/usr/bin/grim` to always capture your screen without asking.
|
||||
|
||||
```ini
|
||||
permission = /usr/bin/appsuite-.*, screencopy, allow
|
||||
```
|
||||
Will allow any app whose path starts with `/usr/bin/appsuite-` to capture your screen without asking.
|
||||
|
||||
|
||||
### Permisision modes
|
||||
|
||||
|
@ -61,7 +66,7 @@ There are 3 modes:
|
|||
|
||||
`plugin`:
|
||||
- Access to load a plugin. Can be either a regex for the app binary, or plugin path.
|
||||
- Do _not_ allow `hyprctl` to load your plugins by default (attacker could issue `hyprctl plugin load /tmp/my-malicious-plugin.so`)
|
||||
- Do _not_ allow `hyprctl` to load your plugins by default (attacker could issue `hyprctl plugin load /tmp/my-malicious-plugin.so`) - use either `deny` to disable or `ask` to be prompted.
|
||||
|
||||
## Notes
|
||||
|
||||
|
|
Loading…
Reference in a new issue