summaryrefslogtreecommitdiff
path: root/dot-config/hypr
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-02-23 17:27:38 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-02-23 17:27:38 +0800
commitfbd1956f57ec2e4f0bbf9558945f044b29c0e674 (patch)
tree5e3cd35cbaf7654cb81803bbd05eede7e52441a9 /dot-config/hypr
parentabbb9fa93c76028acae7853e23d70ce4c8718de7 (diff)
rules: more rules for media-content, more classes, change animation for mpvpaper
Diffstat (limited to 'dot-config/hypr')
-rw-r--r--dot-config/hypr/rules.conf7
1 files 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