Skip to content

Instantly share code, notes, and snippets.

@jpts
Last active August 28, 2017 15:57
Show Gist options
  • Save jpts/3ec7d84379ccde5d7eb48caa5790043d to your computer and use it in GitHub Desktop.
Save jpts/3ec7d84379ccde5d7eb48caa5790043d to your computer and use it in GitHub Desktop.
#!/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