From cb11c0d11fa74a9bc8343282d3cbfe1836782a61 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 16 Feb 2018 21:24:56 +0100 Subject: .xinitrc: mouse sens. by host --- by_os/Linux/X/.xinitrc | 10 ++++++++-- 1 file 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 -- cgit v1.2.3