aboutsummaryrefslogtreecommitdiff
path: root/niri-config/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'niri-config/src/lib.rs')
-rw-r--r--niri-config/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
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),