diff options
| author | erstarr <253168930+erstarr@users.noreply.github.com> | 2026-04-27 23:39:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-27 22:39:16 +0100 |
| commit | 5caf1df1af51255fdd114b842c9bcecebcf963b6 (patch) | |
| tree | 27142405d44fe58c4c67ca72b871933ad8f8e750 /example | |
| parent | d73d3f0028297af1b4d993fed9a0ce66a180d786 (diff) | |
examples: fix missing permissions entry in lua example config (#14177)
Diffstat (limited to 'example')
| -rw-r--r-- | example/hyprland.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/example/hyprland.lua b/example/hyprland.lua index 65b1d0ff..16306bb2 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 ---- ----------------------- |
