fix: niri - touchpad - disable on typing

This commit is contained in:
Ryan Yin
2025-09-20 17:45:13 +08:00
parent 9509c15ac3
commit 16c8b893d3
+5 -5
View File
@@ -34,17 +34,17 @@ niri: {
# Next sections include libinput settings. # Next sections include libinput settings.
# Omitting settings disables them, or leaves them at their default values. # Omitting settings disables them, or leaves them at their default values.
(plain "touchpad" [ (plain "touchpad" [
(flag "tap") # (flag "tap") # tap-to-click
# (flag "dwt") (flag "dwt") # disable-when-typing.
# (flag "dwtp") # (flag "dwtp") # disable-when-trackpointing.
(flag "natural-scroll") (flag "natural-scroll") # inverts the scrolling direction.
# (leaf "accel-speed" 0.2) # (leaf "accel-speed" 0.2)
# (leaf "accel-profile" "flat") # (leaf "accel-profile" "flat")
# (leaf "tap-button-map" "left-middle-right") # (leaf "tap-button-map" "left-middle-right")
]) ])
(plain "mouse" [ (plain "mouse" [
# (flag "natural-scroll") # (flag "natural-scroll") # inverts the scrolling direction.
# (leaf "accel-speed" 0.2) # (leaf "accel-speed" 0.2)
# (leaf "accel-profile" "flat") # (leaf "accel-profile" "flat")
]) ])