#!/bin/sh

declare -i ID
ID=`xinput list | grep -Eio 'Touchpad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'`

xinput enable $ID
echo "Touchpad enabled."