feat: touchpad configuration
This commit is contained in:
parent
f002b34b6f
commit
3df850e4fe
@ -1 +1 @@
|
||||
Subproject commit 0687eaacc634a82f4832599653ad1305fdf0c941
|
||||
Subproject commit e69978a39e4d3262b09ce6a316beff384f443e3b
|
@ -1 +1 @@
|
||||
Subproject commit 4b7e52044bbb84242158d977a50c4cbcd85070c7
|
||||
Subproject commit bb444796dc5746d969f0718913a31c8075741e36
|
@ -1 +1 @@
|
||||
Subproject commit 8c71c6c5edfa447aaa867858e2e913340ea964b7
|
||||
Subproject commit b1569394614804aaad4e994731161f253ff61bcc
|
@ -1 +1 @@
|
||||
Subproject commit 8682d3003595017cd8ffb4c860a07576647cc6f8
|
||||
Subproject commit e440f8a1cf157903485015b120df6d777d215ea3
|
@ -1 +1 @@
|
||||
Subproject commit 6b02b9ca54709a98d5e947c24b379037358ba480
|
||||
Subproject commit 767c0295f48d6f44887257e1caf46646cf35c0da
|
14
.xinitrc
14
.xinitrc
@ -6,11 +6,19 @@ numlockx
|
||||
|
||||
# mouse
|
||||
(
|
||||
DEV="$(xinput | grep Mouse | grep -Po 'id=\d+' | grep -Po '\d+')"
|
||||
PROP='libinput Accel Profile Enabled'
|
||||
|
||||
for id in $(xinput list --id-only); do
|
||||
xinput set-prop "$id" "$PROP" 0, 1 2> /dev/null
|
||||
done
|
||||
xinput set-prop "$DEV" 'libinput Accel Profile Enabled' 0, 1
|
||||
)
|
||||
|
||||
# touchpad
|
||||
(
|
||||
DEV="$(xinput | grep Touchpad | grep -Po 'id=\d+' | grep -Po '\d+')"
|
||||
|
||||
xinput set-prop "$DEV" 'libinput Natural Scrolling Enabled' 1
|
||||
xinput set-prop "$DEV" 'libinput Tapping Enabled' 1
|
||||
xinput set-prop "$DEV" 'libinput Click Method Enabled' 0, 1
|
||||
)
|
||||
|
||||
# display
|
||||
|
Loading…
Reference in New Issue
Block a user