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.
This commit is contained in:
William Carroll 2019-03-18 15:56:03 +00:00
parent 61b40b3012
commit 14972986e3
4 changed files with 37 additions and 26 deletions

View file

@ -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'