summaryrefslogtreecommitdiff
path: root/x11/xprofile.hp-envy-office
diff options
context:
space:
mode:
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