fixed script call

This commit is contained in:
Phuntsok Drak-pa
2019-10-07 14:02:13 +02:00
parent 40ce2b6231
commit 373f3ce492
2 changed files with 1 additions and 1 deletions

5
.local/bin/enable_touch Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
devID=$( xinput list | grep "TouchPad" | sed -n -e 's/.*id=\([0-9]*\).*/\1/p' )
propID=$( xinput list-props $devID | grep "Tapping Enabled (" | sed -n -e 's/.*(\([0-9]*\)).*/\1/p' )
xinput set-prop $devID $propID 1