diff options
author | KJ Ørbekk <orbekk@google.com> | 2017-08-31 14:22:59 -0400 |
---|---|---|
committer | KJ Ørbekk <orbekk@google.com> | 2017-08-31 14:22:59 -0400 |
commit | 28e2910faa297eb30e7a7caae1f74a16e4644a50 (patch) | |
tree | 1e744ba2b7c3233d01d43ffbc516ae98ab262008 /xsession | |
parent | 19450f62a7c58e00beae19e1ece8e4ad9e0005d0 (diff) |
Xsession from orange
Diffstat (limited to 'xsession')
-rwxr-xr-x | xsession | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |