Last active
May 2, 2018 06:25
-
-
Save dsewnr/5701a31eb4c0ccd59f893de95000d2a0 to your computer and use it in GitHub Desktop.
Script To Enable/Disable TouchPad for Thinkpad X1 Carbon 5th Gen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ./ctrl_touchpad.sh (enable|disable) | |
xinput $1 $(xinput | grep TouchPad | cut -d '=' -f 2 | awk '{print $1}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment