diff options
Diffstat (limited to 'home/.local')
-rwxr-xr-x | home/.local/bin/input-setup | 7 |
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 |