Update alacritty config per warning + xinput bits per touchscreen

This commit is contained in:
Dan Buch 2022-11-11 08:07:27 -05:00
parent 2880bf246d
commit 60e6fc730e
Signed by: meatballhat
GPG Key ID: A12F782281063434
2 changed files with 12 additions and 1 deletions

View File

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

View File

@ -5,6 +5,7 @@ function _xinit_setup_xinput() {
_xinit_setup_xinput_touchpad _xinit_setup_xinput_touchpad
_xinit_setup_xinput_trackman_marble _xinit_setup_xinput_trackman_marble
_xinit_setup_xinput_touchscreen
} }
function _xinit_setup_xinput_touchpad() { function _xinit_setup_xinput_touchpad() {
@ -16,6 +17,16 @@ function _xinit_setup_xinput_touchpad() {
'libinput Natural Scrolling Enabled' 1 '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() { function _xinit_setup_xinput_trackman_marble() {
if ! xinput list-props 'Logitech USB Trackball' >/dev/null; then if ! xinput list-props 'Logitech USB Trackball' >/dev/null; then
return return