aboutsummaryrefslogtreecommitdiff
path: root/touchpad.sh
blob: e40c248f15c579108efe035fea188b62c5f08e52 (plain)
1
2
3
4
5
6
#!/bin/sh

# Toggles the touchpad

device='Synaptics TM3145-007'
[ "$(xinput --list-props "$device" | grep -e "Device Enabled (.*):.*1")" ] && xinput disable "$device" || xinput enable "$device"