#!/bin/sh # Toggle touchpad. Requires xf86-input-synaptics. (synclient | grep "TouchpadOff.*1" && synclient TouchpadOff=0)>/dev/null && notify-send "TouchPad reactivated." && exit synclient TouchpadOff=1 && notify-send "TouchPad deactivated."