From f453eed9e0797d3ec6c6b519c3e807055fd0a5b9 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 15 Jan 2022 08:15:07 +0100 Subject: [PATCH] i3: persist trackpoint settings --- .bin/trackpoint-settings.sh | 4 ++++ .config/i3/config | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .bin/trackpoint-settings.sh diff --git a/.bin/trackpoint-settings.sh b/.bin/trackpoint-settings.sh new file mode 100755 index 0000000..cd174f7 --- /dev/null +++ b/.bin/trackpoint-settings.sh @@ -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 diff --git a/.config/i3/config b/.config/i3/config index cb9c42c..b7335ea 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -118,7 +118,7 @@ workspace $ws10 output DP2-1 exec_always setxkbmap -synch 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 xsetroot -solid "#000000"