tune-mouse: allow switch to ignore natural scrolling
This commit is contained in:
parent
9ee820cda6
commit
ab7a09caa3
|
@ -1,6 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
xinput set-prop "$(cat ~/.touchpad-name)" "libinput Natural Scrolling Enabled" 1
|
tp_name="$(cat ~/.touchpad-name)"
|
||||||
|
|
||||||
|
if [ "$tp_name" != none ]; then
|
||||||
|
xinput set-prop "$tp_name" "libinput Natural Scrolling Enabled" 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $# -eq 1 ]; then
|
if [ $# -eq 1 ]; then
|
||||||
display=$1
|
display=$1
|
||||||
|
|
Loading…
Reference in New Issue