i3: persist trackpoint settings

This commit is contained in:
Franzi 2022-01-15 08:15:07 +01:00
parent 86ac556225
commit f453eed9e0
Signed by untrusted user: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 5 additions and 1 deletions

4
.bin/trackpoint-settings.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
echo -n 255 > /sys/devices/platform/i8042/serio1/serio2/sensitivity
echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/speed

View file

@ -118,7 +118,7 @@ workspace $ws10 output DP2-1
exec_always setxkbmap -synch exec_always setxkbmap -synch
exec_always ~/.fehbg exec_always ~/.fehbg
exec_always xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.8 exec_always sudo /home/kunsi/.bin/trackpoint-settings.sh
exec xset s noblank && xset s 90 10 && xset -dpms exec xset s noblank && xset s 90 10 && xset -dpms
exec xsetroot -solid "#000000" exec xsetroot -solid "#000000"