summaryrefslogtreecommitdiff
path: root/by_os/Linux/X/.xinitrc
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2018-02-16 21:24:56 +0100
committerPatrick Simianer <pks@pks.rocks>2018-02-16 21:24:56 +0100
commitcb11c0d11fa74a9bc8343282d3cbfe1836782a61 (patch)
tree008f8bd5dbbddb117524bba27ad8e120369a0097 /by_os/Linux/X/.xinitrc
parent8d2ad1ad458940924f9d8ee6545d16cb08a2854a (diff)
.xinitrc: mouse sens. by host
Diffstat (limited to 'by_os/Linux/X/.xinitrc')
-rw-r--r--by_os/Linux/X/.xinitrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/by_os/Linux/X/.xinitrc b/by_os/Linux/X/.xinitrc
index faea340..078cb2a 100644
--- a/by_os/Linux/X/.xinitrc
+++ b/by_os/Linux/X/.xinitrc
@@ -1,8 +1,14 @@
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)
-exec xinput set-prop $EXT_POINTER 268 2.5 &
-exec xinput set-prop $EXT_POINTER 269 1.25 &
+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