commit 38088bb9a5d9f99f54d1e49df68111ff61bf420d
parent 0e24a7bef821af83aaf6cd87187f904019692aa2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 25 Sep 2020 10:11:57 +0200
.xprofile: set mouse acceleration and disable threshold
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.xprofile b/.xprofile
@@ -18,7 +18,13 @@ if [ "$(hostname)" = "iddqd" ]; then
else
xset dpms 300 600 900
fi
-[ ! "$(uname)" = "OpenBSD" ] && xset m 1/4 0 || :
+
+if [ "$(uname)" = "OpenBSD" ]; then
+ xset m 2/1 0
+else
+ xset m 1/4 0
+fi
+
xset r rate 300 50 # key repeat rate ([delay in ms] [repeats per sec])
dunst &