summaryrefslogtreecommitdiff
path: root/xsession
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2017-09-01 22:57:51 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2017-09-01 22:57:51 -0400
commitd642cf0dd3e71fe8b1669b5bb0295ba42d40617a (patch)
tree6de1b63b2eb387faf5be54b1d0f52ff3f34d7c67 /xsession
parent1c5b832eb4242bc1c89859d5695e13205fb6e496 (diff)
parentbda0d8519201fb6dc57411db497641ca11cddfef (diff)
Merge branch 'master' of sabaki.orbekk.com:/storage/projects/dotfiles
Diffstat (limited to 'xsession')
-rwxr-xr-xxsession8
1 files changed, 7 insertions, 1 deletions
diff --git a/xsession b/xsession
index 8877e81..f7e402c 100755
--- a/xsession
+++ b/xsession
@@ -4,7 +4,7 @@ export TERMINAL=urxvt
export MPD_HOST=sabaki.kk.orbekk.com
command -v $TERMINAL || TERMINAL=termite
command -v $TERMINAL || TERMINAL=gnome-terminal
-
+PATH=$HOME/.cabal/bin:$PATH
xrdb -merge $HOME/.Xresources
setxkbmap us -variant dvorak -option compose:ralt -option caps:ctrl_modifier
$HOME/bin/keyboard_setup.sh
@@ -17,6 +17,12 @@ xsetroot -solid "#2A3462"
trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --alpha 0 --tint 0x000000 --height 18 &
[[ $(hostname) == kikashi ]] && \
xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.5
+if [[ $(hostname) == orange.nyc.corp.google.com ]]; then
+ xinput set-prop "Logitech USB Trackball" "Device Accel Constant Deceleration" 1.0
+ xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 1
+ xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8
+ true
+fi
if [[ $(hostname) == pincer ]]; then
# xinput set-prop "TPPS/2 IBM TrackPoint" "Device Accel Constant Deceleration" 0.5
# xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Accel Constant Deceleration" 0.5