diff options
author | Alan Pearce | 2017-09-13 15:57:39 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-13 15:57:39 +0200 |
commit | 3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67 (patch) | |
tree | ef0532759f60efbfdb71bfe30ba5f8273b54b021 /modules/synaptics.nix | |
parent | 7db05c60364d3d6be69b243e0c43272b36e6ffa0 (diff) | |
parent | 38fce4627d3c2f8ba79049f571fd16bc5037d008 (diff) | |
download | nixfiles-3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67.tar.lz nixfiles-3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67.tar.zst nixfiles-3cd6ae385ed8ac2efd7b63ab6bd698ea8efc0c67.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'modules/synaptics.nix')
-rw-r--r-- | modules/synaptics.nix | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/modules/synaptics.nix b/modules/synaptics.nix index 0e9db17a..1028db35 100644 --- a/modules/synaptics.nix +++ b/modules/synaptics.nix @@ -1,24 +1,27 @@ { config, pkgs, ... }: -{ services.xserver.synaptics = { - enable = true; +{ services.xserver = { + libinput.enable = false; + synaptics = { + enable = true; - accelFactor = "0.001"; + accelFactor = "0.05"; - minSpeed = "0.4"; - maxSpeed = "2.0"; + minSpeed = "0.2"; + maxSpeed = "1.0"; - palmDetect = true; - palmMinWidth = 5; - palmMinZ = 20; + palmDetect = true; + palmMinWidth = 5; + palmMinZ = 20; - twoFingerScroll = true; - vertTwoFingerScroll = true; - horizTwoFingerScroll = true; - additionalOptions = '' - Option "RBCornerButton" "3" - Option "VertScrollDelta" "-111" - Option "HorizScrollDelta" "-111" - ''; + twoFingerScroll = true; + vertTwoFingerScroll = true; + horizTwoFingerScroll = true; + additionalOptions = '' + Option "RBCornerButton" "3" + Option "VertScrollDelta" "-111" + Option "HorizScrollDelta" "-111" + ''; + }; }; } |