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