Skip to content

Commit

Permalink
Modify 'libinput Accel Speed'
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Oct 31, 2023
1 parent e210367 commit f165e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/x
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if [[ "$1" = "-r" ]]; then
xmodmap -e "keycode 9 = Escape asciitilde grave"
fi
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Profile Enabled' 0, 1
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Speed' 0.${2:-4}
xinput set-prop 'pointer:MOSART Semi. 2.4G Keyboard Mouse' 'libinput Accel Speed' 0.${2:-2}
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Profile Enabled' 0, 1
xinput set-prop 'pointer:Razer Razer DeathAdder V2' 'libinput Accel Speed' -0.${2:-01}
xrandr --output eDP-1 --same-as HDMI-1
Expand Down

0 comments on commit f165e32

Please sign in to comment.