Skip to content

Commit

Permalink
Fix for fallback en_US
Browse files Browse the repository at this point in the history
  • Loading branch information
stefonarch committed Mar 11, 2024
1 parent 5a41315 commit 561689a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lxqt-settingsexporter.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ if grep -q layout "$lxqt_settings"; then
layout="XKB_DEFAULT_LAYOUT=$(cat $lxqt_settings| grep layout| sed 's/[^=]*=["]*\([^"]*\)["]*/\1/')"
else
layout="XKB_DEFAULT_LAYOUT=$(echo $LANG|cut -c 1,2)"
if echo "$layout" | grep -q "en"; then
layout=XKB_DEFAULT_LAYOUT=us
fi
fi

# Check if it is not configured already in labwc
if [ -z "$layout_labwc" ]; then
echo "No existing keyboard layout found in labwc, importing..."
Expand Down

0 comments on commit 561689a

Please sign in to comment.