diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 5e448dde0..9bcebb53d 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -622,6 +622,22 @@ window-rule { } ``` +#### `scroll-factor` + +Since: next release + +Set a scroll factor for all scroll events sent to a window. + +This will be multiplied with the scroll factor set for your input device in the [input](/wiki/Configuration:-Input.md) section. + +```kdl +window-rule { + match app-id="firefox" + + scroll-factor 0.75 +} +``` + #### `geometry-corner-radius` Since: 0.1.6