Skip to content

Commit 2d8da2d

Browse files
authored
Fix examples using 'floating' instead of 'float' (#1294)
1 parent a0a5c14 commit 2d8da2d

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
@@ -269,15 +269,15 @@ precedence. i.e.
269269

270270
```ini
271271
windowrule = opacity 0.8 0.8, match:class kitty
272-
windowrule = opacity 0.5 0.5, match:floating yes
272+
windowrule = opacity 0.5 0.5, match:float yes
273273
```
274274

275275
Here, all non-fullscreen kitty windows will have `opacity 0.8`, except if
276276
they are floating. Otherwise, they will have `opacity 0.5`. The rest of the
277277
non-fullscreen floating windows will have `opacity 0.5`.
278278

279279
```ini
280-
windowrule = opacity 0.5 0.5, match:floating true
280+
windowrule = opacity 0.5 0.5, match:float true
281281
windowrule = opacity 0.8 0.8, match:class kitty
282282
```
283283

0 commit comments

Comments
 (0)