examples: fix missing permissions entry in lua example config (#14177)

This commit is contained in:
erstarr 2026-04-27 23:39:16 +02:00 committed by GitHub
parent d73d3f0028
commit 5caf1df1af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ----
-----------------------