diff --git a/example/hyprland.lua b/example/hyprland.lua index 65b1d0ffa..16306bb22 100644 --- a/example/hyprland.lua +++ b/example/hyprland.lua @@ -58,6 +58,26 @@ local menu = "hyprlauncher" hl.env("XCURSOR_SIZE", "24") hl.env("HYPRCURSOR_SIZE", "24") + +----------------------- +----- PERMISSIONS ----- +----------------------- + +-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Permissions/ +-- Please note permission changes here require a Hyprland restart and are not applied on-the-fly +-- for security reasons + +-- hl.config({ +-- ecosystem = { +-- enforce_permissions = true, +-- }, +-- }) + +-- hl.permission("/usr/(bin|local/bin)/grim", "screencopy", "allow") +-- hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "screencopy", "allow") +-- hl.permission("/usr/(bin|local/bin)/hyprpm", "plugin", "allow") + + ----------------------- ---- LOOK AND FEEL ---- -----------------------