From 69ca9e2528eb2a295d2cdb29bc45e7e14c453e36 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 1 Feb 2021 14:40:50 +0100 Subject: [PATCH] Exit after loading typematrix keymap --- keyboard.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboard.sh b/keyboard.sh index eff1ef3..743b57b 100755 --- a/keyboard.sh +++ b/keyboard.sh @@ -7,9 +7,10 @@ TM_ID="1e54:2030" TM_AVAILABLE=$(lsusb | grep -i -- "$TM_ID") if [ "${TM_AVAILABLE}" ]; then - setxkbmap -model tm2030USB -layout fr -variant bepo -else - setxkbmap -model pc104 -layout fr -variant bepo + setxkbmap -model tm2030USB -layout fr -variant bepo \ + && exit 0 fi +setxkbmap -model latitude -layout fr -variant bepo + exit 0