yoga11e-tweaks/DisableKeyboard.sh

16 lines
164 B
Bash
Raw Permalink Normal View History

2020-05-12 16:34:58 +02:00
#!/bin/bash
xinput --disable 12
if [ $? -ne 0 ]
echo "Keyboard disabled"
# xinput --enable 5
# if [ $? -ne 0 ]
# echo "Keyboard enabled"
# fi