From ecd3fa1349a2825f9545637a5f29a35f7217fb7b Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 9 May 2025 19:50:25 +0800 Subject: windowrule: permissions --- dot-config/hypr/rules.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dot-config') 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 -- cgit v1.2.3