Add support for using a different amount of fingers for swiping.#315
Add support for using a different amount of fingers for swiping.#315MagneFire wants to merge 1 commit intoniri-wm:mainfrom
Conversation
This removes the hardcoded prerequisite of using three fingers to use the swipe gesture.
Instead one can configure it by setting `gesture-swipe-fingers` in the `input` section.
A working example is:
```
input {
gesture-swipe-fingers 4
}
```
Signed-off-by: Darrel Griët <dgriet@gmail.com>
|
Sorry for taking a while to respond. The reason is that I was thinking of different ways to configure this that don't impact future extensibility. For example, I'm thinking of possibly adding a different swipe gesture that will use 4 fingers, in addition to the current gestures using 3. What's your use case for this, why do you want to change it? |
Hehe, no worries. I'm thankful for you giving the time to respond 😄 I thought about this too, as in creating a But as this struct would only contain one option decided to keep it simple and perhaps discuss this in this PR 😉
I'm currently using This works well for me with GNOME and Hyprland, which is why I wanted the same thing for niri. |
This removes the hardcoded prerequisite of using three fingers to use the swipe gesture. Instead one can configure it by setting
gesture-swipe-fingersin theinputsection.A working example is: