]> Freerunner's - dotfiles.git/commitdiff
hypr: update window rules
authorAndre Ramnitz <tux.rising@gmail.com>
Mon, 2 Jun 2025 21:55:38 +0000 (23:55 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Mon, 2 Jun 2025 21:55:38 +0000 (23:55 +0200)
dot-config/hypr/fragments/windowrules.conf
dot-config/hypr/hyprland.conf

index 5604053c2a865d05db3cca26f2cc397c4ccb095e..d5e7c4b39e6918652509bb8a3a1a76ea0851bb07 100644 (file)
@@ -7,6 +7,7 @@
 
 # handle steam client
 windowrule = float, class:^(steam)$
+windowrule = suppressevent activatefocus, class:^(steam)$
 # windowrule = float, title:^(Steam)$
 # windowrule = float, title:^(Freundesliste)$
 windowrule = stayfocused, title:^()$, class:^(steam)$
@@ -72,10 +73,9 @@ windowrule = float, class:^(org.corectrl.CoreCtrl)$
 windowrule = float, class:^(pavucontrol.*)$
 windowrule = float, class:^(lutris)$
 windowrule = float, class:^(Threema.*)$
+windowrule = noinitialfocus, class:^(Threema.*)$
 windowrule = workspace 3, class:^(Threema.*)$
 windowrule = float, class:^(blueman-manager.*)$
-windowrule = tag +game, class:^(.*)exe$
-windowrule = tag +game, initialClass:^(gamescope)$
 windowrule = float, class:^(org.pulseaudio.pavucontrol.*)$
 
 # handle ueberzugpp
@@ -89,11 +89,17 @@ windowrule = group deny, class:^(ueberzugpp.*)$
 windowrule = float, class:^(org.freedesktop.impl.portal.desktop.kde)$
 windowrule = stayfocused, class:^(org.freedesktop.impl.portal.desktop.kde)$
 
+# handle games
+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 = immediate, tag:game
 windowrule = opaque, tag:game
+windowrule = stayfocused, tag:game
 
index 39994e9a1c79b7bfa8ebd6eb62039e94a06ba02a..731d3d082dd3086492dd7a7a4de546814f6a8ce2 100644 (file)
@@ -28,7 +28,7 @@ exec-once = ~/.config/hypr/scripts/startup.sh
 exec-once = hypridle
 exec-once = hyprpm enable hyprbars
 exec-once = hyprpaper
-exec-once = flatpak run org.openrgb.OpenRGB
+exec-once = flatpak run org.openrgb.OpenRGB --startminimized -p sunset
 exec-once = flatpak run ch.threema.threema-desktop
 
 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/