summarylogtreecommitdiffstats
path: root/touchpad-toggle.sh
blob: 913e87688915c179f755d9e732cf59979155c7ac (plain)
1
2
3
4
5
6
7
#!/bin/bash

# Script to toggle the touchpad
# See https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Software_toggle
# Use desktop environment to set keyboard shortcut.

synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')