Skip to content

Commit ea89369

Browse files
authored
Update Window Rule syntax (#1298)
Updated the examples to follow the latest spec
1 parent 50d7324 commit ea89369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/Configuring/Window-Rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,13 +247,13 @@ windowrule {
247247
animation = popin
248248
}
249249

250-
windowrule = no_blur, match:class firefox # Disable blur for firefox
250+
windowrule = no_blur on, match:class firefox # Disable blur for firefox
251251
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
252252
windowrule = border_color rgb(FF0000) rgb(880808), match:fullscreen 1 # Set border color to red if window is fullscreen
253253
windowrule = border_color rgb(FFFF00), match:title .*Hyprland.* # Set border color to yellow when title contains Hyprland
254254
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
255255
windowrule = match:class kitty, rounding 10 # Set rounding to 10 for kitty
256-
windowrule = match:class (pinentry-)(.*), stayfocused # Fix pinentry losing focus
256+
windowrule = match:class (pinentry-)(.*), stay_focused on # Fix pinentry losing focus
257257
```
258258

259259
### Notes

0 commit comments

Comments
 (0)