aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2023-11-16 22:51:34 +0000
committerLibravatar Arnold Sommerfeld <sommerfeld@strisemarx.com>2023-11-16 22:51:34 +0000
commit85c6988258d2f266f3f776914f3d19ff4eed6eb4 (patch)
tree55dca91f79428f6c3473f69d396b74150cd15f08
parente36240c3d9b879c0a330cbbe848ffd288aae7d9d (diff)
downloaddotfiles-85c6988258d2f266f3f776914f3d19ff4eed6eb4.tar.gz
dotfiles-85c6988258d2f266f3f776914f3d19ff4eed6eb4.tar.bz2
dotfiles-85c6988258d2f266f3f776914f3d19ff4eed6eb4.zip
Adapt input-setup to halley2
-rwxr-xr-xhome/.local/bin/input-setup7
1 files 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