Krolyxon
Commit af47ed6

Branches

Refs →

aurora.confighyprsourcepermissions.lua

48 lines · 961 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
25-- aurora (overview window previews use ScreencopyView)
26hl.permission({
27 binary = "/usr/(bin|local/bin)/quickshell",
28 type = "screencopy",
29 mode = "allow",
30})
31
32hl.permission({
33 binary = "/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland",
34 type = "screencopy",
35 mode = "allow",
36})
37
38hl.permission({
39 binary = "/usr/(bin|local/bin)/hyprpm",
40 type = "plugin",
41 mode = "allow",
42})
43
44hl.permission({
45 binary = "${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}",
46 type = "screencopy",
47 mode = "allow",
48})