Wiki new Window Rules

Hyprland version
Hyprland 0.52.0 built from branch main at commit fbb31503f1b69402eeda81ba75a547c862c88bf2 clean (CI/AI translate: fix yet again).
Date: Wed Nov 19 09:13:54 2025
Tag: v0.52.0-67-gfbb31503f, commits: 6626

Libraries:
Hyprgraphics: built against 0.3.0, system has 0.3.0
Hyprutils: built against 0.10.2, system has 0.10.2
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.6, system has 0.6.6
Aquamarine: built against 0.9.5, system has 0.9.5

Trying to adapt my conf with new Window Rules, I see in the wiki:

windowrule = no_blur, match:class firefox

but the result is: invalid field no_blur missing a value

Is windowrule = no_blur yes, match:class firefox correct btw?

`windowrule = no_blur on, match:class firefox` looks better.

Don’t know how to obtain a 50% size :sob:

Has someone size 50% 50% working, or whatever numbers ?

e.g. windowrule = size 50% 50%, match:initial_class ^(proton-bridge)$

If you are on a stable release (eg .52), the updated wiki instructions will not apply. Which makes me believe that .53 stable release is imminent.

You can read more from @vaxry on X here

For the mom, apply
windowrulev2 = size 50% 50%, class:^(firefox)$
You will be good to go.

All my hypr* are git versions.

Yesterday all the stack was recompiled. Today, I just updated hyprland-git and size with % is not working.

I use size xxx xxx at the moment. Not tested Uncommon tips & tricks – Hyprland Wiki

The wiki is versioned.

v0.52 users should be following Hyprland Wiki.

Unlikely given the typical release cadence.

1 Like

Yeah, it’s in the wiki. If you’re on git:

windowrule = float on, center on, size (window_w*0.5) (window_h*0.5), match:class org.gnome.Characters

–OR–

windowrule = float on, center on, size (monitor_w/2) (monitor_h/2), match:class org.gnome.Characters

Works for me.

1 Like

You stand 100% correct.
Despite using hyprland for the last 3-4 months, I never noticed it.
Kudos.

float true, center true this works too.