From ea8936912439800fd86631751f70c7fe47c0ee13 Mon Sep 17 00:00:00 2001 From: Pere Gomila Date: Thu, 27 Nov 2025 16:44:00 +0100 Subject: [PATCH] Update Window Rule syntax (#1298) Updated the examples to follow the latest spec --- content/Configuring/Window-Rules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/Configuring/Window-Rules.md b/content/Configuring/Window-Rules.md index 9af582b..8e2cffa 100644 --- a/content/Configuring/Window-Rules.md +++ b/content/Configuring/Window-Rules.md @@ -247,13 +247,13 @@ windowrule { animation = popin } -windowrule = no_blur, match:class firefox # Disable blur for firefox +windowrule = no_blur on, match:class firefox # Disable blur for firefox windowrule = move (cursor_x-(window_w*0.5)) (cursor_y-(window_h*0.5)), match:class kitty # Move kitty to the center of the cursor windowrule = border_color rgb(FF0000) rgb(880808), match:fullscreen 1 # Set border color to red if window is fullscreen windowrule = border_color rgb(FFFF00), match:title .*Hyprland.* # Set border color to yellow when title contains Hyprland windowrule = opacity 1.0 override 0.5 override 0.8 override, match:class kitty # Set opacity to 1.0 active, 0.5 inactive and 0.8 fullscreen for kitty windowrule = match:class kitty, rounding 10 # Set rounding to 10 for kitty -windowrule = match:class (pinentry-)(.*), stayfocused # Fix pinentry losing focus +windowrule = match:class (pinentry-)(.*), stay_focused on # Fix pinentry losing focus ``` ### Notes