Skip to content

Instantly share code, notes, and snippets.

Avatar

m0nst3r mr-m0nst3r

View GitHub Profile
@mr-m0nst3r
mr-m0nst3r / touchpad.sh
Created Nov 27, 2019
turn on/off touchpad on linux
View touchpad.sh
#!/bin/bash
if [ "$1" == "on" ]; then
/usr/bin/xinput enable "`xinput list | grep -i touchpad | awk '{print $3" "$4" "$5}'`"
elif [ "$1" == "off" ]; then
/usr/bin/xinput disable "`xinput list | grep -i touchpad | awk '{print $3" "$4" "$5}'`"
else
echo " Usage: touchpad on/off"
fi
View keybase.md

Keybase proof

I hereby claim:

  • I am mr-m0nst3r on github.
  • I am m0nst3r (https://keybase.io/m0nst3r) on keybase.
  • I have a public key ASAE8nF4_0HVUQp0a7809I2zu0VAtPBdfv4bJGDS5f4hfQo

To claim this, I am signing this object: