Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resp=$(xinput --list --long);
- if [[ $resp =~ .*disabled.* ]];
- then xinput --enable "AT Translated Set 2 keyboard";
- else
- xinput --disable "AT Translated Set 2 keyboard";
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement