From e1971c4af5761d043e0fcef57b2cc9d8311fec00 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 8 Jan 2024 10:24:00 +0400 Subject: Add touchpad dwt setting --- niri-config/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'niri-config/src') diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 38ff1749..8d0eb8e6 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -107,6 +107,8 @@ pub struct Touchpad { #[knuffel(child)] pub tap: bool, #[knuffel(child)] + pub dwt: bool, + #[knuffel(child)] pub natural_scroll: bool, #[knuffel(child, unwrap(argument), default)] pub accel_speed: f64, @@ -640,6 +642,7 @@ mod tests { touchpad { tap + dwt accel-speed 0.2 accel-profile "flat" } @@ -727,6 +730,7 @@ mod tests { }, touchpad: Touchpad { tap: true, + dwt: true, natural_scroll: false, accel_speed: 0.2, accel_profile: Some(AccelProfile::Flat), -- cgit