tune-mouse: change scroll direction on mantel

This commit is contained in:
Nico Schottelius 2026-07-23 10:34:59 +02:00
commit 144a78cf72

View file

@ -3,7 +3,15 @@
tp_name="$(cat ~/.touchpad-name)"
if [ "$tp_name" != none ]; then
xinput set-prop "$tp_name" "libinput Natural Scrolling Enabled" 1
case "$(hostname)" in
mantel)
value=0
;;
*)
value=1
;;
esac
xinput set-prop "$tp_name" "libinput Natural Scrolling Enabled" "$value"
fi
if [ $# -eq 1 ]; then