From 144a78cf722a1302a2a1eac44fd1438d59f316af Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 23 Jul 2026 10:34:59 +0200 Subject: [PATCH] tune-mouse: change scroll direction on mantel --- tune-mouse | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tune-mouse b/tune-mouse index f0faf18..222b501 100755 --- a/tune-mouse +++ b/tune-mouse @@ -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