summaryrefslogtreecommitdiff
path: root/by_os/Linux/X/.xinitrc
blob: 078cb2a2ab473284af752d0d7d9fab97e2695190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
exec xmodmap ${HOME}/.Xmodmap &
exec ${HOME}/bin/ratcpi &
export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1)
if [[ $(hostname) == "kobe" ]]; then
  exec xinput set-prop $EXT_POINTER 264 2.5 &
  exec xinput set-prop $EXT_POINTER 265 1.0 &
  exec xinput set-prop $EXT_POINTER 266 5.0 &
elif [[ $(hostname) == "bogues" ]]; then
  exec xinput set-prop $EXT_POINTER 268 2.5 &
  exec xinput set-prop $EXT_POINTER 269 1.25 &
fi
exec mkdir -p /tmp/mutt &
export LC_ALL=en_US.UTF-8
exec ratpoison