dotfiles/.local/bin/set_trackpoint

11 lines
505 B
Bash
Executable File

#!/bin/zsh
echo -n 1000 | tee /sys/devices/platform/i8042/serio1/serio2/rate
echo -n 200 | tee /sys/devices/platform/i8042/serio1/serio2/sensitivity
echo -n 75 | tee /sys/devices/platform/i8042/serio1/serio2/speed
echo -n 1000 | tee /sys/devices/platform/i8042/serio1/serio2/resolution
echo -n 2 | tee /sys/devices/platform/i8042/serio1/serio2/inertia
echo -n 2 | tee /sys/devices/platform/i8042/serio1/serio2/mindrag
echo -n 1 | tee /sys/devices/platform/i8042/serio1/serio2/press_to_select
xset m 0 0