about summary refs log tree commit diff
path: root/configs/laptop
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-18T15·56+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-18T15·56+0000
commit14972986e3e247ad20954f2450e1acc7ff476b9e (patch)
tree29aff305f3341604d8cfbec08ee6fad5adf9d9b5 /configs/laptop
parent61b40b301209644e2d695ec69bdbed762c9b3c9a (diff)
Break .xsessionrc into .xsessionrc.{shared,device}
This allows configuration for device specific settings - usually or
perhaps exclusively hardware related. Supporting disabling laptop
touchscreen, increasing laptop cursor speed, reversing the scroll
direction of the laptop mouse.
Diffstat (limited to 'configs/laptop')
-rw-r--r--configs/laptop/x_server/.xsessionrc.device8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/laptop/x_server/.xsessionrc.device b/configs/laptop/x_server/.xsessionrc.device
new file mode 100644
index 000000000000..83ee8caaca19
--- /dev/null
+++ b/configs/laptop/x_server/.xsessionrc.device
@@ -0,0 +1,8 @@
+# setup OSX style scrolling for laptop
+xinput --set-prop 'DLL07BF:01 06CB:7A13 Touchpad' 'libinput Natural Scrolling Enabled' 1
+
+# increase cursor speed
+xinput --set-prop 'DLL07BF:01 06CB:7A13 Touchpad' 'libinput Accel Speed' 1
+
+# disable touchscreen on laptop
+xinput disable 'ELAN Touchscreen'