mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-13 16:12:40 +02:00
fix: niri - touchpad - disable on typing
This commit is contained in:
@@ -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")
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user