From df1e90c0aab8d79ddd99947389690f1b68403d49 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 27 Oct 2024 23:16:19 +0800 Subject: 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 --- dot-config/hypr/rules.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3