From f4ebbc8017308c6afce93b48741a4aa26fcafbda Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 18 Apr 2026 12:02:25 +0300 Subject: [PATCH] wiki: Emphasize non-xray warnings --- docs/wiki/Configuration:-Window-Rules.md | 3 +++ docs/wiki/Window-Effects.md | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/wiki/Configuration:-Window-Rules.md b/docs/wiki/Configuration:-Window-Rules.md index 5c0a0b57..74ec7461 100644 --- a/docs/wiki/Configuration:-Window-Rules.md +++ b/docs/wiki/Configuration:-Window-Rules.md @@ -944,6 +944,9 @@ See the [window effects page](./Window-Effects.md) for an overview of background ```kdl // Make floating windows use the regular blur (if enabled), // while tiled windows keep using the efficient xray blur. +// +// Warning: non-xray blur is currently experimental and has known limitations. +// In particular, it doesn't work during window opening and closing animations. window-rule { match is-floating=true diff --git a/docs/wiki/Window-Effects.md b/docs/wiki/Window-Effects.md index 7cb96639..32a0c971 100644 --- a/docs/wiki/Window-Effects.md +++ b/docs/wiki/Window-Effects.md @@ -62,10 +62,11 @@ You can disable xray with `xray false` background effect window rule. This gives you the normal kind of blur where everything below a window is blurred. Keep in mind that non-xray blur and other non-xray effects are more expensive as niri has to recompute them any time you move the window, or the contents underneath change. -Non-xray effects are currently experimental because they have some known limitations. - -- They disappear during window open/close animations and while dragging a tiled window. -Fixing this requries a refactor to the niri rendering code to defer offscreen rendering, and possibly other refactors. +> [!WARNING] +> Non-xray effects are currently experimental because they have some known limitations. +> +> - They disappear during window open/close animations and while dragging a tiled window. +> Fixing this requries a refactor to the niri rendering code to defer offscreen rendering, and possibly other refactors. ### Implementation notes