16 lines
164 B
Bash
Executable File
16 lines
164 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
# xinput --disable 3
|
|
# if [ $? -ne 0 ]
|
|
# echo "Keyboard disabled"
|
|
# fi
|
|
|
|
|
|
xinput --enable 12
|
|
if [ $? -ne 0 ]
|
|
echo "Keyboard enabled"
|
|
|
|
|
|
|