yoga11e-tweaks/keyboardSwitch.sh

16 lines
162 B
Bash
Raw Normal View History

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