From 5caf1df1af51255fdd114b842c9bcecebcf963b6 Mon Sep 17 00:00:00 2001 From: erstarr <253168930+erstarr@users.noreply.github.com> Date: Mon, 27 Apr 2026 23:39:16 +0200 Subject: [PATCH] examples: fix missing permissions entry in lua example config (#14177) --- example/hyprland.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 ---- -----------------------