aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncaen <mail@duncano.de>2016-07-11 01:49:00 +0200
committerDuncaen <mail@duncano.de>2016-07-11 01:49:00 +0200
commit13eac7fa4a3882cf4b947d0133ccd7f9eeb964a8 (patch)
tree4f31a40e7d6c6a906e44de841329f736ad3d4033
parent2a4f8434dc1a61cddf18131ae14a93735002e4e9 (diff)
downloaddotfiles-13eac7fa4a3882cf4b947d0133ccd7f9eeb964a8.tar.gz
xinitrc: add x220 stuff
-rw-r--r--xinitrc12
1 files changed, 10 insertions, 2 deletions
diff --git a/xinitrc b/xinitrc
index 51e92f6..515bcdd 100644
--- a/xinitrc
+++ b/xinitrc
@@ -18,11 +18,19 @@ fi
xrdb -merge $HOME/.Xresources
# start pulseaudio -.-
-start-pulseaudio-x11 &
+# start-pulseaudio-x11 &
xset -b
xrandr --dpi 96 &
setxkbmap de &
sct 4400
-runsvdir -P $HOME/service.x 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
+if [ "$(hostname)" = "fly" ]; then
+ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
+ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
+ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
+ xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
+ xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.95
+fi
+
+exec $STARTUP runsvdir -P $HOME/service.x 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'