Skip to content

Instantly share code, notes, and snippets.


Timothy Kanarsky tkanarsky

  • Los Angeles, CA
View GitHub Profile
tkanarsky /
Created May 6, 2021
Keyboard cleaning script -- disables keyboard for some number of seconds
xinput --list
echo "Enter keyboard id:"
read kb
echo "Enter time to disable keyboard (sec):"
read sec
xinput set-prop $kb "Device Enabled" 0;