From: Andre Ramnitz Date: Mon, 2 Jun 2025 21:55:38 +0000 (+0200) Subject: hypr: update window rules X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=560cdaf1b2c70dedb1b4f7264e7c23b3c2445aa3;p=dotfiles.git hypr: update window rules --- diff --git a/dot-config/hypr/fragments/windowrules.conf b/dot-config/hypr/fragments/windowrules.conf index 5604053c..d5e7c4b3 100644 --- a/dot-config/hypr/fragments/windowrules.conf +++ b/dot-config/hypr/fragments/windowrules.conf @@ -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 diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 39994e9a..731d3d08 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -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/