diff options
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/kb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index 137f2a0..b80df28 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -17,6 +17,8 @@ else xmodmap -e 'keycode 23 = Escape' xmodmap -e 'keycode 66 = Escape' fi +mouse=$(xinput list | grep 'USB Optical Mouse' | awk '{print $8}' | sed 's/id=//') +xinput --set-prop $mouse 'libinput Accel Speed' -0.75 notify-send -u low -t 2000 'kb' ' Keyboard set' # vim: filetype=sh |