diff options
author | Simon Rettberg | 2016-09-08 11:26:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-09-08 11:26:39 +0200 |
commit | c524f6003caa90ea28e19b90f027302486903e24 (patch) | |
tree | 97ba9382c6781a7765ff4b0603b40d19f771f042 /sample_configuration/lock.sh | |
parent | fix problem with ghost click. (diff) | |
download | pvs2-c524f6003caa90ea28e19b90f027302486903e24.tar.gz pvs2-c524f6003caa90ea28e19b90f027302486903e24.tar.xz pvs2-c524f6003caa90ea28e19b90f027302486903e24.zip |
Rename lock/unlock scripts to kb-lock and kb-unlock so you know it's for the keyboard
Diffstat (limited to 'sample_configuration/lock.sh')
-rwxr-xr-x | sample_configuration/lock.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sample_configuration/lock.sh b/sample_configuration/lock.sh deleted file mode 100755 index 68cbc40..0000000 --- a/sample_configuration/lock.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# use xinput -keyboards=$(xinput --list | grep "slave" | grep "keyboard" | cut -f2 | cut -d'=' -f2) - - -for id in $keyboards; do - echo "disabling device #$id" - xinput --set-prop $id "Device Enabled" 0 -done
\ No newline at end of file |