yoga11e-tweaks/keyboardSwitch.sh

16 lines
162 B
Bash
Executable File

#!/bin/bash
#xinput --disable 5
#if [ $? -ne 0 ]
# echo "Keyboard disabled"
#fi
xinput --enable 5
if [ $? -ne 0 ]
echo "Keyboard enabled"
fi