1 unstable release
0.1.0 | Aug 24, 2023 |
---|
#20 in #per
7KB
130 lines
Auto-sensitivity
Goal
On linx with X11 it's hard to use gaming mouse without having to change the DPI each time compared to an office mouse. This utility allows you to have sensitivity saved per xinput device
Installation
- Ensure that you're using x11 and have xinput installed
- Run
cargo install autosensitivity
Usage
Modify the sensivity for a device as you would normaly do:
xinput list
xinput --set-prop <ID> 'libinput Accel Speed' -0.25
Then you can save the config like that:
autosensitivity --save <INPUT_NAME>
And load all your saved configs like that:
autosensitivity --load
Dependencies
~1.2–8MB
~65K SLoC