Update alacritty config per warning + xinput bits per touchscreen
This commit is contained in:
parent
2880bf246d
commit
60e6fc730e
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user