Last active
October 28, 2015 10:03
-
-
Save cympfh/659d05a96ee412d19318 to your computer and use it in GitHub Desktop.
toggle でマウスを殺す fuck the mouse
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 | |
if ls /tmp/mouse_off ; then | |
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 0 | |
rm /tmp/mouse_off | |
else | |
xinput --set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Off" 1 | |
touch /tmp/mouse_off | |
fi | |
# "SynPS/2 Synaptics TouchPad" の名前は | |
# $ xinput -list | |
# から |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment