]> code.delx.au - dotfiles/blobdiff - bin/trackpad-config.sh
trackpad-config: run fingerlow/fingerhigh twice
[dotfiles] / bin / trackpad-config.sh
index 40d881d9cd8515ac732b0caf94f30998349cf71a..09f7b1277b457a1b4d7cadef6ae6c8748aae5167 100755 (executable)
@@ -10,8 +10,11 @@ synclient MaxDoubleTapTime=180
 synclient SingleTapTimeout=50
 synclient ClickTime=100
 
-synclient FingerHigh=30
-synclient FingerLow=20
+# run this twice to ensure it works no matter what the previous values were
+for i in 1 2; do
+    synclient FingerHigh=30
+    synclient FingerLow=20
+done
 
 synclient ClickPad=1
 synclient TapButton1=1