From fbd1956f57ec2e4f0bbf9558945f044b29c0e674 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Feb 2025 17:27:38 +0800 Subject: rules: more rules for media-content, more classes, change animation for mpvpaper --- dot-config/hypr/rules.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf index d70a46a8..bf060593 100644 --- a/dot-config/hypr/rules.conf +++ b/dot-config/hypr/rules.conf @@ -37,6 +37,7 @@ windowrulev2 = move 100%-w-$outer_gaps, tag:media-contents windowrulev2 = noinitialfocus, tag:media-contents windowrulev2 = noshadow, tag:media-contents windowrulev2 = keepaspectratio, tag:media-contents +windowrulev2 = nodim, tag:media-contents # It grabs our focus when it change video windowrulev2 = suppressevent activatefocus, tag:media-contents @@ -108,7 +109,7 @@ windowrulev2 = tag +system, class:^(virt-manager|blueman-adapters|GParted|Xdm-ap windowrulev2 = tag +misc, class:^(os_server|Os_server)$ # floating applications -windowrulev2 = float, class:^(zoom|sxiv|Sxiv|Viewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|electron|com.github.rafostar.Clapper)$ +windowrulev2 = float, class:^(zoom|sxiv|Sxiv|Viewnior|feh|nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|electron|com.github.rafostar.Clapper|io.github.celluloid_player.Celluloid)$ windowrulev2 = float, title:^(Steam Settings|Sign in – Google accounts)$ # pin apps @@ -145,7 +146,7 @@ windowrulev2 = tag +fakefullscreen, class:^(thorium-mdpkiolbdkhdjpekfbkbmhigcagg # Full screen applications # time-sensitive app rules -windowrulev2 = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|pinentry-|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent)$ +windowrulev2 = tag +time-sensitive, class:^(polkit-gnome-authentication-agent-1|pinentry-|hyprland-share-picker.*|gcr-prompter|io.missioncenter.MissionCenter|hyprpolkitagent|hyprland-dialog)$ windowrulev2 = tag +popup, title:^(Open File|Open|Select a File|Choose wallpaper|Open Folder|Save As|Save File|Library|File Upload|.*- Properties|Enter name of file to save to…)$ windowrulev2 = tag +popup, class:^(xdg-desktop-portal.*|org.freedesktop.impl.portal.desktop.kde|xdg-desktop-portal-gtk)$ windowrulev2 = dimaround, tag:time-sensitive @@ -219,7 +220,7 @@ layerrule = ignorezero, syshud layerrule = animation none, selection -layerrule = animation slide right 0%, mpvpaper +layerrule = animation gnome 0%, mpvpaper # Misc -- cgit v1.2.3