aboutsummaryrefslogtreecommitdiff
path: root/.xinitrc
diff options
context:
space:
mode:
authorxero <x@xero.nu>2014-05-05 15:07:31 -0400
committerxero <x@xero.nu>2014-05-05 15:07:31 -0400
commit53b47ce8258f7efe380cc9dab09826b1f0e9bc27 (patch)
tree50115db6dc18ea15041a1c904c19b931a57b3e9c /.xinitrc
parent099213f02ea44edd12e2d08e74865cd47f0b0fb2 (diff)
downloaddotfiles_ascii-53b47ce8258f7efe380cc9dab09826b1f0e9bc27.tar.xz
dotfiles_ascii-53b47ce8258f7efe380cc9dab09826b1f0e9bc27.zip
add synaptics touchpad config options to .xinitrc
Diffstat (limited to '')
-rw-r--r--.xinitrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/.xinitrc b/.xinitrc
index 2f4d798..d2f09a7 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -54,6 +54,12 @@ nitrogen --restore &&
# configure touchpad
syndaemon -i 0.8 -d &
+if egrep -iq 'touchpad' /proc/bus/input/devices; then
+ synclient VertEdgeScroll=0 &
+ synclient TapButton1=1 &
+ synclient HorizTwoFingerScroll=1 &
+fi
+
# clipboard manager
(sleep 3s && clipit) &