Krolyxon
Commit 2495d96

Branches

Refs →

aurora.confighyprsourcepermissions.lua

41 lines · 792 B · Lua

1hl.config({
2 ecosystem = {
3 enforce_permissions = true,
4 },
5})
6
7hl.permission({
8 binary = "/usr/(bin|local/bin)/grim",
9 type = "screencopy",
10 mode = "allow",
11})
12
13hl.permission({
14 binary = "/usr/(bin|local/bin)/hyprlock",
15 type = "screencopy",
16 mode = "allow",
17})
18
19hl.permission({
20 binary = "/usr/(bin|local/bin)/hyprpicker",
21 type = "screencopy",
22 mode = "allow",
23})
24
25hl.permission({
26 binary = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland",
27 type = "screencopy",
28 mode = "allow",
29})
30
31hl.permission({
32 binary = "/usr/(bin|local/bin)/hyprpm",
33 type = "plugin",
34 mode = "allow",
35})
36
37hl.permission({
38 binary = "${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}",
39 type = "screencopy",
40 mode = "allow",
41})