blob: 6e50dbc9aa3a85ca287c5064f6092e13fbaef41a (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env zsh
# for external TEX keyboard
#export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1)
if [[ $(hostname) == "bogues" ]]; then
export EXT_POINTER=$(xinput list | grep "TPPS/2 IBM TrackPoint" | grep pointer | awk -F'=' '{print $2}' | cut -f 1)
xinput set-prop $EXT_POINTER $(xinput list-props $EXT_POINTER | grep "libinput Accel Speed (" | awk -F '[()]' '{print $2}') 0.1
else
|