#!/bin/sh -e # Disable touchpad xinput --disable `xinput list | awk 'BEGIN{IGNORECASE=1} /TouchPad/ {print $6}' | tr 'id=' ' ' | xargs`