summaryrefslogtreecommitdiff
path: root/dot-config/hypr/perms.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/hypr/perms.lua')
-rw-r--r--dot-config/hypr/perms.lua13
1 files changed, 10 insertions, 3 deletions
diff --git a/dot-config/hypr/perms.lua b/dot-config/hypr/perms.lua
index b6a67e18..11014568 100644
--- a/dot-config/hypr/perms.lua
+++ b/dot-config/hypr/perms.lua
@@ -4,6 +4,7 @@ hl.config({
},
})
+-- Screencopy
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")
@@ -11,11 +12,18 @@ hl.permission("/usr/(bin|local/bin)/hyprpm", "plugin", "allow")
hl.permission("/usr/bin/grim", "screencopy", "allow")
hl.permission("/usr/bin/hyprlock", "screencopy", "allow")
hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "screencopy", "allow")
+hl.permission("/usr/bin/hyprland-preview-share-picker", "screencopy", "allow")
+-- Plugins
hl.permission("/var/cache/hyprpm/system/dynamic-cursors/dynamic-cursors.so", "plugin", "allow")
hl.permission("/var/cache/hyprpm/system/hyprscroller/hyprscroller.so", "plugin", "allow")
+-- InputCapture
+hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "input-capture", "allow")
+
-- Keyboards
+hl.permission(".*", "keyboard", "ask")
+
hl.permission("^yubico-yubikey-otp\\+fido\\+ccid$", "keyboard", "allow")
hl.permission("^wooting-wooting-two-he-\\(arm\\)$", "keyboard", "allow")
hl.permission("^wooting-wooting-two-he-\\(arm\\)-system-control$", "keyboard", "allow")
@@ -30,7 +38,6 @@ hl.permission("^sleep-button$", "keyboard", "allow")
hl.permission("^hp-wmi-hotkeys$", "keyboard", "allow")
hl.permission("^hl-virtual-keyboard$", "keyboard", "allow")
hl.permission("^hl-virtual-keyboard-fcitx5$", "keyboard", "allow")
-
hl.permission("^company--usb-device--keyboard-1$", "keyboard", "allow")
-
-hl.permission(".*", "keyboard", "ask")
+hl.permission("^company--usb-device--1$", "keyboard", "allow")
+hl.permission("^wooting-wooting-two-he-\\(arm\\)-consumer-control-1$", "keyboard", "allow")