diff options
author | William Carroll <wpcarro@gmail.com> | 2019-03-18T15·56+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-03-18T15·56+0000 |
commit | 14972986e3e247ad20954f2450e1acc7ff476b9e (patch) | |
tree | 29aff305f3341604d8cfbec08ee6fad5adf9d9b5 /configs/desktop | |
parent | 61b40b301209644e2d695ec69bdbed762c9b3c9a (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/desktop')
-rw-r--r-- | configs/desktop/x_server/.xsessionrc.device | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/desktop/x_server/.xsessionrc.device b/configs/desktop/x_server/.xsessionrc.device new file mode 100644 index 000000000000..352dd4fb7d02 --- /dev/null +++ b/configs/desktop/x_server/.xsessionrc.device @@ -0,0 +1,5 @@ +# setup OSX style scrolling for desktop +xinput --set-prop 'PixArt Lenovo USB Optical Mouse' 'libinput Natural Scrolling Enabled' 1 + +# increase mouse speed +xinput --set-prop 'PixArt Lenovo USB Optical Mouse' 'libinput Accel Speed' 1 |