summaryrefslogtreecommitdiffstats
path: root/sample_configuration/lock.sh
diff options
context:
space:
mode:
authorSimon Rettberg2016-09-08 11:26:39 +0200
committerSimon Rettberg2016-09-08 11:26:39 +0200
commitc524f6003caa90ea28e19b90f027302486903e24 (patch)
tree97ba9382c6781a7765ff4b0603b40d19f771f042 /sample_configuration/lock.sh
parentfix problem with ghost click. (diff)
downloadpvs2-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-xsample_configuration/lock.sh10
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