summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-10-27 23:16:19 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-10-27 23:16:19 +0800
commitdf1e90c0aab8d79ddd99947389690f1b68403d49 (patch)
treeb1ed98e64553bfecb7188ff410b4e101c09ea736
parentcfe6657f0635aec9edef0d4b39be20a60614622b (diff)
feat(media-content): suppress grab focus event for PIP
add(time-sensitive): add thunar properties menu in fix(zoom): fixed zoom's annotation causing the whole screen to be blured
-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 a1d36e24..006ac7c1 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -31,6 +31,8 @@ windowrulev2 = pin, tag:media-contents
windowrulev2 = move 100%-w-$outer_gaps, tag:media-contents
windowrulev2 = noinitialfocus, tag:media-contents
windowrulev2 = noshadow, tag:media-contents
+# It grabs our focus when it change video
+windowrulev2 = suppressevent activatefocus, tag:media-contents
# fake fullscreen
windowrulev2 = fullscreenstate 0 2, tag:fakefullscreen
@@ -127,7 +129,7 @@ windowrulev2 = tag fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcaggj
# Full screen applications
# time-sensitive app rules
windowrulev2 = tag time-sensitive, class:^(org.freedesktop.impl.portal.desktop.kde|polkit-gnome-authentication-agent-1|pinentry-|xdg-desktop-portal.*|hyprland-share-picker.*|gcr-prompter)$
-windowrulev2 = tag time-sensitive, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload)$
+windowrulev2 = tag time-sensitive, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties)$
windowrulev2 = dimaround, tag:time-sensitive
# rofi
@@ -164,6 +166,9 @@ windowrulev2 = opacity 0.80 0.70, title:^Open$
windowrulev2 = opacity 0.8 0.5, title:^New Tab - Thorium$
# windowrulev2 = ignorezero, title:Annotation - Zoom
+# no blurs
+windowrulev2 = noblur, title:^(Annotation - Zoom)$
+
# Layer rules/blur
layerrule = blurpopups