aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Window-Rules.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-04 08:23:29 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-04 10:42:44 +0300
commit691bc064bbf59ea0ee663cec20b8e1ff54680194 (patch)
tree4877bbf28eb75c494a51729f7a9c57cf1d4a972e /wiki/Configuration:-Window-Rules.md
parent553b1ba85256e2cb290e8a67f709a14e603606bc (diff)
downloadniri-691bc064bbf59ea0ee663cec20b8e1ff54680194.tar.gz
niri-691bc064bbf59ea0ee663cec20b8e1ff54680194.tar.bz2
niri-691bc064bbf59ea0ee663cec20b8e1ff54680194.zip
wiki: Fix copy-paste typo
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
-rw-r--r--wiki/Configuration:-Window-Rules.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md
index 5fa44021..d14f36d7 100644
--- a/wiki/Configuration:-Window-Rules.md
+++ b/wiki/Configuration:-Window-Rules.md
@@ -627,7 +627,7 @@ window-rule {
Override the shadow options for the window.
-These rules have the same options as the normal shadow config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.
+This rule has the same options as the normal shadow config in the [layout](./Configuration:-Layout.md) section, so check the documentation there.
However, in addition to `on` to enable the shadow, this window rule has an `off` flag that disables the shadow for the window even if it was otherwise enabled.
The `on` flag has precedence over the `off` flag, in case both are set.
@@ -636,7 +636,7 @@ The `on` flag has precedence over the `off` flag, in case both are set.
// Turn on shadows for floating windows.
window-rule {
match is-floating=true
-
+
shadow {
on
}