initial commit

This commit is contained in:
Homer S. 2020-05-12 16:34:58 +02:00
parent 36b032e2e8
commit 142b666d56
3 changed files with 45 additions and 0 deletions

15
DisableKeyboard.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
xinput --disable 12
if [ $? -ne 0 ]
echo "Keyboard disabled"
# xinput --enable 5
# if [ $? -ne 0 ]
# echo "Keyboard enabled"
# fi

15
EnableKeyboard.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# xinput --disable 3
# if [ $? -ne 0 ]
# echo "Keyboard disabled"
# fi
xinput --enable 12
if [ $? -ne 0 ]
echo "Keyboard enabled"

15
keyboardSwitch.sh Executable file
View File

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