summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2023-09-22 10:13:44 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2023-09-22 10:13:44 -0500
commit6cf13aeebf0d2c6c396ff230578101cbd5c0494f (patch)
treecd71aa87598dbf7db1c4d4256ccf727df2c81b31
parent3dfa7eb9a3855e91868fd8be028ce9115d91e189 (diff)
downloaddotconfig-6cf13aeebf0d2c6c396ff230578101cbd5c0494f.tar.xz
dotconfig-6cf13aeebf0d2c6c396ff230578101cbd5c0494f.zip
skipconfig option and fix trackpoint and trackpad settings to be more readable
-rwxr-xr-xx11/xinitrc6
-rwxr-xr-xx11/xprofile.T4959
2 files changed, 10 insertions, 5 deletions
diff --git a/x11/xinitrc b/x11/xinitrc
index 525cb0c..261a42b 100755
--- a/x11/xinitrc
+++ b/x11/xinitrc
@@ -1,5 +1,7 @@
#!/bin/sh
X11CONFIG=${X11CONFIG:=${XDG_CONFIG_HOME:+$XDG_CONFIG_HOME/x11}}; X11CONFIG=${X11CONFIG:-$HOME/.config/x11}
-X11CONFIG=$X11CONFIG $X11CONFIG/xprofile
-[ -e $X11CONFIG/xprofile.$(hostname) ] && X11CONFIG=$X11CONFIG $X11CONFIG/xprofile.$(hostname)
+if [ ! "$SKIPCONFIG" ]; then
+ X11CONFIG=$X11CONFIG $X11CONFIG/xprofile
+ [ -e $X11CONFIG/xprofile.$(hostname) ] && X11CONFIG=$X11CONFIG $X11CONFIG/xprofile.$(hostname)
+fi
exec dbus-launch --exit-with-session ${WM:-timmywm}
diff --git a/x11/xprofile.T495 b/x11/xprofile.T495
index 0eb2d0c..f472fa5 100755
--- a/x11/xprofile.T495
+++ b/x11/xprofile.T495
@@ -1,4 +1,7 @@
#!/bin/sh
-xinput --set-prop 13 308 -0.5 # make trackpoint accelerate less
-xinput --set-prop 12 308 0.3 # make trackpad accelerate more
-xinput --set-prop 12 298 0 # don't disable trackpad while typing
+# xinput --list
+# xinput --list-props <device>
+# xinput --set-prop <device> <prop> <value>
+xinput --set-prop "TPPS/2 Elan TrackPoint" "libinput Accel Speed" -0.5 # make trackpoint accelerate less
+xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Accel Speed" 0.3 # make trackpad accelerate more
+xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Disable While Typing Enabled" 0 # don't disable trackpad while typing