diff options
| author | brockar <martin@mguz.dev> | 2026-01-27 18:24:01 -0300 |
|---|---|---|
| committer | brockar <martin@mguz.dev> | 2026-01-27 18:24:01 -0300 |
| commit | d9b4683459347b3b911f1970581aaf14f1d0544e (patch) | |
| tree | a749f6ce29cb12a3ee31b5c417fdb6aab32db81b | |
| parent | cd359b6129f6763fdebc46fda4548cb215063f24 (diff) | |
fix: update windowrules-v3 to follow windowrules config
| -rw-r--r-- | config/hypr/configs/WindowRules-config-v3.conf | 106 |
1 files changed, 44 insertions, 62 deletions
diff --git a/config/hypr/configs/WindowRules-config-v3.conf b/config/hypr/configs/WindowRules-config-v3.conf index 6aab2590..d4a3b6b0 100644 --- a/config/hypr/configs/WindowRules-config-v3.conf +++ b/config/hypr/configs/WindowRules-config-v3.conf @@ -17,8 +17,6 @@ # windowrule = match:tag games*, workspace 8 # windowrule = match:tag multimedia*, workspace 9 silent - - # TAGS - add apps under appropriate tag to use the same settings # browser tags windowrule = match:class ^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr|[Ff]irefox-bin)$, tag +browser @@ -28,7 +26,7 @@ windowrule = match:class ^([Cc]hromium)$, tag +browser windowrule = match:class ^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable))$, tag +browser windowrule = match:class ^(Brave-browser(-beta|-dev|-unstable)?)$, tag +browser windowrule = match:class ^([Tt]horium-browser|[Cc]achy-browser)$, tag +browser -windowrule = match:class ^(zen)$, tag +browser +windowrule = match:class ^(zen-alpha|zen)$, tag +browser # notif tags windowrule = match:class ^(swaync-control-center|swaync-notification-window|swaync-client|class)$, tag +notif @@ -42,7 +40,7 @@ windowrule = match:class ^(nwg-displays|nwg-look)$, tag +KooL-Settings windowrule = match:class ^(Alacritty|kitty|kitty-dropterm)$, tag +terminal # email tags -windowrule = match:class ^([Tt]hunderbird|org.gnome.Evolution)$, tag +email +windowrule = match:class ^([Tt]hunderbird|org.mozilla.Thunderbird)$, tag +email windowrule = match:class ^(eu.betterbird.Betterbird)$, tag +email windowrule = match:class ^(org.gnome.Evolution)$, tag +email @@ -58,7 +56,7 @@ windowrule = match:class ^(com.obsproject.Studio)$, tag +screenshare # IM tags windowrule = match:class ^([Dd]iscord|[Ww]ebCord|[Vv]esktop)$, tag +im windowrule = match:class ^([Ff]erdium)$, tag +im -windowrule = match:class ^([Ww]hatsapp-for-linux)$, tag +im +windowrule = match:class ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$, tag +im windowrule = match:class ^(org.telegram.desktop|io.github.tdesktop_x64.TDesktop)$, tag +im windowrule = match:class ^(teams-for-linux)$, tag +im windowrule = match:class ^(im.riot.Riot|Element)$, tag +im @@ -109,21 +107,8 @@ windowrule = match:class ^(eog|org.gnome.Loupe)$, tag +viewer # Some special override rules windowrule = match:tag multimedia_video, no_blur on windowrule = match:tag multimedia_video, opacity 1.0 - -# POSITION -# windowrule = match:floating true, center on -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:title ^(Picture-in-Picture)$, move 72% 7% - -# windowrule to avoid idle for fullscreen apps -windowrule = match:fullscreen true, idle_inhibit fullscreen +windowrule = match:tag multimedia, no_blur on +windowrule = match:tag multimedia, opacity 1.0 # FLOAT windowrule = match:tag KooL_Cheat, float on @@ -132,30 +117,52 @@ windowrule = match:tag settings, float on windowrule = match:tag viewer, float on windowrule = match:tag KooL-Settings, float on windowrule = match:class ([Zz]oom|onedriver|onedriver-launcher), float on -windowrule = match:class (org.gnome.Calculator) match:title (Calculator), float on +windowrule = match:class (org.gnome.Calculator|qalculate-gtk), float on windowrule = match:class ^(mpv|com.github.rafostar.Clapper)$, float on windowrule = match:class ^([Qq]alculate-gtk)$, float on windowrule = match:class ^([Ff]erdium)$, float on -windowrule = match:title ^(Picture-in-Picture)$, float on -# windowrule - ######### float popups and dialogue ####### +# float popups and dialogue windowrule = match:title ^(Authentication Required)$, float on, center on -windowrule = match:class (codium|codium-url-handler|VSCodium) match:title negative:(.*codium.*|.*VSCodium.*), float on -windowrule = match:class ^(com.heroicgameslauncher.hgl)$ match:title negative:(Heroic Games Launcher), float on -windowrule = match:class ^([Ss]team)$ match:title negative:^([Ss]team)$, float on -windowrule = match:class ([Tt]hunar) match:title negative:(.*[Tt]hunar.*), float on - +windowrule = match:class (codium|codium-url-handler|VSCodium), match:title negative:(.*codium.*|.*VSCodium.*), float on +windowrule = match:class ^(com.heroicgameslauncher.hgl)$, match:title negative:(Heroic Games Launcher), float on +windowrule = match:class ^([Ss]team)$, match:title negative:^([Ss]team)$, float on +windowrule = match:class ([Tt]hunar), match:title negative:(.*[Tt]hunar.*), float on windowrule = match:title ^(Add Folder to Workspace)$, float on, size (monitor_w*0.7) (monitor_h*0.6), center on - windowrule = match:title ^(Save As)$, float on, size (monitor_w*0.7) (monitor_h*0.6), center on - windowrule = match:initial_title (Open Files), float on, size (monitor_w*0.7) (monitor_h*0.6) - windowrule = match:title ^(SDDM Background)$, float on, center on, size (monitor_w*0.16) (monitor_h*0.12) +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 -# YAD dialog for wallpaper confirmation -windowrule = match:class ^(yad)$ match:title ^(YAD)$, float on, center on, size (monitor_w*0.2) (monitor_h*0.2) -# END of float popups and dialogue ####### +# 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 @@ -171,21 +178,13 @@ 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 -# This not gonna take the focus to the window that appears when -# hovering over some of the parts of the IntelliJ Products -windowrule = match:class ^(jetbrains-*), no_initial_focus on +# This not gonna take the focus to the window that appears +# when hovering over some of the parts of the IntelliJ Products +windowrule = match:class ^(jetbrains-.*)$, no_initial_focus on windowrule = match:title ^(wind.*)$, no_initial_focus on # LAYER RULES @@ -194,13 +193,6 @@ layerrule = match:namespace notifications, blur on layerrule = match:namespace quickshell:overview, blur on layerrule = match:namespace quickshell:overview, ignore_alpha 0.5 -# Named rules for special cases -windowrule { - name = Whatsapp-zapzap - match:class = ^([Ww]hatsapp-for-linux|ZapZap|com.rtosta.zapzap)$ - size = (monitor_w*0.6) (monitor_h*0.7) - center = on -} windowrule { name = Picture-in-Picture match:title = ^(Picture-in-Picture)$ @@ -211,13 +203,3 @@ windowrule { keep_aspect_ratio = on size = (monitor_w*0.3) (monitor_h*0.3) } -# Thunar copy progress dialog -windowrule { - name = Thunar-Progress-bar - match:class = ^(thunar)$ - match:title = ^(File Operation Progress)$ - float = on - center = on - size = (monitor_w*0.26) (monitor_h*0.18) -} - |
