Last active
August 28, 2017 15:57
-
-
Save jpts/3ec7d84379ccde5d7eb48caa5790043d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
NAME=$(xinput list --name-only | fgrep Touchpad) | |
ID=$(xinput list --id-only "$NAME") | |
PROP=$(xinput list-props $ID | awk -F'[()]' '/Typing/ {if ($0 !~ /Default/) print $2}') | |
xinput set-prop $ID $PROP 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment