summaryrefslogtreecommitdiff
path: root/x11/xprofile.hp-envy-office
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-01-14 09:05:07 -0600
committerTim Keller <tjkeller.xyz>2025-01-14 09:05:07 -0600
commit3de53abefb504012a83c00c9cf0bc7b72052d157 (patch)
tree9de1ef776b29e3738d7f6f05591cd491154614fe /x11/xprofile.hp-envy-office
parentef2efb5d57cd595d83cb2b8624264424d298ebb8 (diff)
downloaddotconfig-3de53abefb504012a83c00c9cf0bc7b72052d157.tar.xz
dotconfig-3de53abefb504012a83c00c9cf0bc7b72052d157.zip
TODO make nicer. Add default cursor theme and change xprofile for office pc rm pointer accel
Diffstat (limited to 'x11/xprofile.hp-envy-office')
-rwxr-xr-xx11/xprofile.hp-envy-office6
1 files changed, 5 insertions, 1 deletions
diff --git a/x11/xprofile.hp-envy-office b/x11/xprofile.hp-envy-office
index fca8ecd..4236f3c 100755
--- a/x11/xprofile.hp-envy-office
+++ b/x11/xprofile.hp-envy-office
@@ -1,4 +1,8 @@
#!/bin/sh
-xinput set-prop "pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38" "libinput Accel Speed" 1 # make trackpoint accelerate more
+xrdb -merge $X11CONFIG/Xresources.desktop 2>/dev/null & xrdbpid=$!
+
+# set options for unicomp pointer
xinput set-prop "pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38" "libinput Scroll Method Enabled" 0 0 1 # enable scroll while holding left + right mouse
xinput set-prop "pointer:Unicomp Inc Unicomp 10x Kbrd R7_2_w_PS_R7_38" "Coordinate Transformation Matrix" 2.5 0 0 0 2.5 0 0 0 1 # speed up trackpoint
+
+wait $xrdbpid # wait for xrdb like in base xprofile