diff options
Diffstat (limited to '.config/hypr/source/permissions.lua')
| -rw-r--r-- | .config/hypr/source/permissions.lua | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.config/hypr/source/permissions.lua b/.config/hypr/source/permissions.lua new file mode 100644 index 0000000..c33fb51 --- /dev/null +++ b/.config/hypr/source/permissions.lua @@ -0,0 +1,41 @@ +hl.config({ + ecosystem = { + enforce_permissions = true, + }, +}) + +hl.permission({ + binary = "/usr/(bin|local/bin)/grim", + type = "screencopy", + mode = "allow", +}) + +hl.permission({ + binary = "/usr/(bin|local/bin)/hyprlock", + type = "screencopy", + mode = "allow", +}) + +hl.permission({ + binary = "/usr/(bin|local/bin)/hyprpicker", + type = "screencopy", + mode = "allow", +}) + +hl.permission({ + binary = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", + type = "screencopy", + mode = "allow", +}) + +hl.permission({ + binary = "/usr/(bin|local/bin)/hyprpm", + type = "plugin", + mode = "allow", +}) + +hl.permission({ + binary = "${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}", + type = "screencopy", + mode = "allow", +}) |
