Skip to content

Commit

Permalink
wiki: Add scroll-factor window rule
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb651 committed Jan 21, 2025
1 parent 3434ef2 commit 5ca1550
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions wiki/Configuration:-Window-Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,22 @@ window-rule {
}
```

#### `scroll-factor`

<sup>Since: next release</sup>

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`

<sup>Since: 0.1.6</sup>
Expand Down

0 comments on commit 5ca1550

Please sign in to comment.