Exit after loading typematrix keymap

This commit is contained in:
Jeremy Gardais 2021-02-01 14:40:50 +01:00
parent 33d5ae882a
commit 69ca9e2528
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 4 additions and 3 deletions

View File

@ -7,9 +7,10 @@ TM_ID="1e54:2030"
TM_AVAILABLE=$(lsusb | grep -i -- "$TM_ID") TM_AVAILABLE=$(lsusb | grep -i -- "$TM_ID")
if [ "${TM_AVAILABLE}" ]; then if [ "${TM_AVAILABLE}" ]; then
setxkbmap -model tm2030USB -layout fr -variant bepo setxkbmap -model tm2030USB -layout fr -variant bepo \
else && exit 0
setxkbmap -model pc104 -layout fr -variant bepo
fi fi
setxkbmap -model latitude -layout fr -variant bepo
exit 0 exit 0