Created
August 9, 2019 11:23
-
-
Save prachauthit/5f6c412db3b117805dfc9391693762fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
device=$(xinput | grep SYNA | cut -f 2 | grep -oE [0-9]{2}) | |
echo $device | |
xinput disable $device |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment