summaryrefslogtreecommitdiff
path: root/dot-config
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-05-09 19:50:25 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-05-09 19:50:25 +0800
commitecd3fa1349a2825f9545637a5f29a35f7217fb7b (patch)
tree3e93ed87a8b3b33c4768c7aa631e51e47db6b876 /dot-config
parent4ed3e956ec63539faa685df51034c907c3998035 (diff)
windowrule: permissions
Diffstat (limited to 'dot-config')
-rw-r--r--dot-config/hypr/rules.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 9e2c2b14..cfc86466 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -98,7 +98,7 @@ windowrule = tag +file, class:^($fileManager|Pcmanfm|Thunar|qBittorrent|Caja)$
windowrule = tag +code, class:^(code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman|jetbrains-clion)$
# Office applications
-windowrule = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|ClickUp)$
+windowrule = tag +office, class:^(LibreOffice.*|libreoffice.*|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b|evince|org.gnome.Evince|ClickUp)$
# Communication apps
windowrule = tag +communication, class:^(discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox)$
@@ -264,3 +264,8 @@ windowrule = nofocus, class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinne
# windowrule = rounding 0, floating:0, onworkspace:w[tv1]
# windowrule = bordersize 0, floating:0, onworkspace:f[1]
# windowrule = rounding 0, floating:0, onworkspace:f[1]
+
+# permissions
+permission = /usr/bin/grim, screencopy, allow
+permission = /usr/bin/wf-recorder, screencopy, allow
+permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow