~smlavine/dots

1f5e0f199338f733b3640eadd6f2971678d72ffa — Sebastian LaVine 4 months ago 312cd9d
.xinitrc: Generalize disabling finger input

This should now work with other input devices that are named similarly;
I am adding this as I am now using a Thinkpad X13 Yoga gen-3 that has
the input device called "Wacom HID 5284 Finger".
1 files changed, 4 insertions(+), 4 deletions(-)

M src/.xinitrc
M src/.xinitrc => src/.xinitrc +4 -4
@@ 2,12 2,12 @@

setxkbmap -option caps:escape

# This will probably be useful only on a Thinkpad X220 Tablet.
# The touch screen will not respond to touch from a finger, but it will still
# respond to the digitizer pen.
# This will probably only be useful on a Thinkpad Tablet.
# This will make it so that the touch screen will not respond to touch from a
# finger, but will still respond to a digitizer pen.
# I did this because it is annoying that things are clicked and higlighted
# when I am wiping dust off the screen.
xinput disable 'Wacom ISDv4 E6 Finger'
xinput list --name-only | grep Finger | xargs -I{} xinput disable {}

if [ ! "$WM" ]; then
	WM="dwm"