From cd359b6129f6763fdebc46fda4548cb215063f24 Mon Sep 17 00:00:00 2001 From: brockar Date: Tue, 27 Jan 2026 18:22:52 -0300 Subject: fix: reorder windowrules to center floating ones --- config/hypr/configs/WindowRules.conf | 56 +++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index a2c5f512..d4a3b6b0 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -110,26 +110,6 @@ windowrule = match:tag multimedia_video, opacity 1.0 windowrule = match:tag multimedia, no_blur on windowrule = match:tag multimedia, opacity 1.0 -# POSITION -windowrule = match:tag KooL_Cheat, center on -windowrule = match:class ([Tt]hunar), match:title negative:(.*[Tt]hunar.*), center on -windowrule = match:title ^(ROG Control)$, center on -windowrule = match:tag KooL-Settings, center on -windowrule = match:title ^(Keybindings)$, center on -windowrule = match:class ^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$, center on -windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, center on -windowrule = match:class ^([Ff]erdium)$, center on -windowrule = match:tag wallpaper, center on -windowrule = match:tag settings, center on -windowrule = match:tag viewer, center on -windowrule = match:tag KooL-Settings, center on - -# windowrule to avoid idle for fullscreen apps -windowrule = match:fullscreen true, idle_inhibit fullscreen -windowrule = idle_inhibit fullscreen, match:fullscreen 1 -windowrule = idle_inhibit fullscreen, match:class .* -windowrule = idle_inhibit fullscreen, match:title .* - # FLOAT windowrule = match:tag KooL_Cheat, float on windowrule = match:tag wallpaper, float on @@ -155,6 +135,35 @@ windowrule = match:title ^(SDDM Background)$, float on, center on, size (monitor windowrule = match:class ^(yad)$, float on, center on, size (monitor_w*0.2) (monitor_h*0.2) windowrule = match:class ^(hyprland-donate-screen)$, float on, center on +# SIZE +windowrule = match:tag KooL_Cheat, size (monitor_w*0.65) (monitor_h*0.9) +windowrule = match:tag wallpaper, size (monitor_w*0.7) (monitor_h*0.7) +windowrule = match:tag settings, size (monitor_w*0.7) (monitor_h*0.7) +windowrule = match:class ^([Ff]erdium)$, size (monitor_w*0.6) (monitor_h*0.7) +windowrule = match:class (org.gnome.Calculator|qalculate-gtk), center on, size (monitor_w*0.25) (monitor_h*0.3) + +# POSITION +windowrule = match:tag KooL_Cheat, center on +windowrule = match:class ([Tt]hunar), match:title negative:(.*[Tt]hunar.*), center on +windowrule = match:title ^(ROG Control)$, center on +windowrule = match:tag KooL-Settings, center on +windowrule = match:title ^(Keybindings)$, center on +windowrule = match:class ^(pavucontrol|org.pulseaudio.pavucontrol|com.saivert.pwvucontrol)$, center on +windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, center on +windowrule = match:class ^([Ff]erdium)$, center on +windowrule = match:tag wallpaper, center on +windowrule = match:tag settings, center on +windowrule = match:tag viewer, center on +windowrule = match:tag KooL-Settings, center on +windowrule = match:class ^(nm-connection-editor)$, center on +windowrule = match:class ^(nm-applet)$, match:title ^(Wi-Fi Network Authentication Required)$, center on + +# windowrule to avoid idle for fullscreen apps +windowrule = match:fullscreen true, idle_inhibit fullscreen +windowrule = idle_inhibit fullscreen, match:fullscreen 1 +windowrule = idle_inhibit fullscreen, match:class .* +windowrule = idle_inhibit fullscreen, match:title .* + # OPACITY windowrule = match:tag browser, opacity 0.99 0.8 windowrule = match:tag projects, opacity 0.9 0.8 @@ -169,13 +178,6 @@ windowrule = match:class ^(gedit|org.gnome.TextEditor|mousepad)$, opacity 0.8 0. windowrule = match:class ^(deluge)$, opacity 0.9 0.8 windowrule = match:class ^(seahorse)$, opacity 0.9 0.8 -# SIZE -windowrule = match:tag KooL_Cheat, size (monitor_w*0.65) (monitor_h*0.9) -windowrule = match:tag wallpaper, size (monitor_w*0.7) (monitor_h*0.7) -windowrule = match:tag settings, size (monitor_w*0.7) (monitor_h*0.7) -windowrule = match:class ^([Ff]erdium)$, size (monitor_w*0.6) (monitor_h*0.7) -windowrule = match:class (org.gnome.Calculator|qalculate-gtk), center on, size (monitor_w*0.25) (monitor_h*0.3) - # BLUR & FULLSCREEN windowrule = match:tag games, no_blur on, fullscreen 0 windowrule = match:tag games, fullscreen 0 -- cgit v1.2.3