From 5ca1550973895a75894f667c5934a60e95f2e0db Mon Sep 17 00:00:00 2001 From: bbb651 Date: Tue, 21 Jan 2025 14:32:41 +0200 Subject: [PATCH] wiki: Add `scroll-factor` window rule --- wiki/Configuration:-Window-Rules.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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