Skip to content

Commit

Permalink
libinput: ensure that we only apply touchpad options to touchpads
Browse files Browse the repository at this point in the history
  • Loading branch information
Twey committed Jun 16, 2020
1 parent 26521ad commit 912a584
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/x11/hardware/libinput.nix
Expand Up @@ -219,6 +219,7 @@ in {
Section "InputClass"
Identifier "libinputConfiguration"
MatchDriver "libinput"
MatchTag "Touchpad"
${optionalString (cfg.dev != null) ''MatchDevicePath "${cfg.dev}"''}
Option "AccelProfile" "${cfg.accelProfile}"
${optionalString (cfg.accelSpeed != null) ''Option "AccelSpeed" "${cfg.accelSpeed}"''}
Expand Down

0 comments on commit 912a584

Please sign in to comment.