From 85c6988258d2f266f3f776914f3d19ff4eed6eb4 Mon Sep 17 00:00:00 2001 From: Arnold Sommerfeld Date: Thu, 16 Nov 2023 22:51:34 +0000 Subject: Adapt input-setup to halley2 --- home/.local/bin/input-setup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/home/.local/bin/input-setup b/home/.local/bin/input-setup index 95f7d31..f052388 100755 --- a/home/.local/bin/input-setup +++ b/home/.local/bin/input-setup @@ -16,8 +16,8 @@ setmodmap() { fi } -if [ "$(uname -n)" = "halley" ]; then - setxkbmap -layout no +if [ "$(uname -n)" = "halley2" ]; then + setxkbmap -layout pt elif [ "$(uname -n)" = "hercules" ]; then setxkbmap -layout es fi @@ -43,8 +43,7 @@ if [ "$(uname -n)" = "hercules" ]; then for i in $ids; do xinput --set-prop "$i" 'libinput Accel Profile Enabled' 0, 1 done -elif [ "$(uname -n)" = "halley" ]; then +elif [ "$(uname -n)" = "halley2" ]; then xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1 - xinput set-prop "ELAN Touchscreen" "Device Enabled" 0 fi -- cgit v1.2.3-70-g09d2