From 882f00e1f378f0d987c29f90eb087301cacc21b0 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Thu, 5 Jun 2025 07:29:35 +0200 Subject: [PATCH] hypr: refine window rules for steam & games --- dot-config/hypr/fragments/windowrules.conf | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index d5e7c4b3..610e2493 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -10,8 +10,13 @@ windowrule = float, class:^(steam)$ windowrule = suppressevent activatefocus, class:^(steam)$ # windowrule = float, title:^(Steam)$ # windowrule = float, title:^(Freundesliste)$ -windowrule = stayfocused, title:^()$, class:^(steam)$ +# windowrule = stayfocused, title:^()$, class:^(steam)$ windowrule = minsize 1 1, title:^()$, class:^(steam)$ +windowrule = noanim 1, class:^(steam)$ +windowrule = noblur 1, class:^(steam)$ +windowrule = norounding 1, class:^(steam)$ +windowrule = nodim 1, class:^(steam)$ +windowrule = decorate 0, class:^(steam)$ windowrule = plugin:hyprbars:nobar,class:^(steam)$ windowrule = plugin:hyprbars:nobar,title:^(Steam)$ windowrule = plugin:hyprbars:nobar,title:^(Freundesliste)$ @@ -94,12 +99,12 @@ windowrule = tag +game, class:^(.*)exe$ windowrule = tag +game, initialClass:^(gamescope)$ # handle TAGS (always handle tags last) -windowrule = nodim, tag:neverdim -windowrule = nodim, tag:game -windowrule = noblur, tag:game -windowrule = norounding, tag:game -windowrule = noshadow, tag:game -# windowrule = immediate, tag:game +windowrule = nodim 1, tag:neverdim +windowrule = nodim 1, tag:game +windowrule = noblur 1, tag:game +windowrule = norounding 1, tag:game +windowrule = noshadow 1, tag:game windowrule = opaque, tag:game windowrule = stayfocused, tag:game +# windowrule = immediate, tag:game #experimental -- 2.51.2