Update alacritty config per warning + xinput bits per touchscreen

main
Dan Buch 1 year ago
parent 2880bf246d
commit 60e6fc730e
Signed by: meatballhat
GPG Key ID: A12F782281063434

@ -34,7 +34,7 @@ font:
glyph_offset:
x: 0
y: 0
use_thin_strokes: true
#use_thin_strokes: true
debug:
render_timer: false
persistent_logging: false

@ -5,6 +5,7 @@ function _xinit_setup_xinput() {
_xinit_setup_xinput_touchpad
_xinit_setup_xinput_trackman_marble
_xinit_setup_xinput_touchscreen
}
function _xinit_setup_xinput_touchpad() {
@ -16,6 +17,16 @@ function _xinit_setup_xinput_touchpad() {
'libinput Natural Scrolling Enabled' 1
}
function _xinit_setup_xinput_touchscreen() {
if ! xinput list-props \
'Wacom Pen and multitouch sensor Finger' >/dev/null; then
return
fi
xinput set-prop 'Wacom Pen and multitouch sensor Finger' \
'Device Enabled' 0
}
function _xinit_setup_xinput_trackman_marble() {
if ! xinput list-props 'Logitech USB Trackball' >/dev/null; then
return

Loading…
Cancel
Save