fix .bin scripts

This commit is contained in:
Simonas Narbutas
2019-11-21 13:47:40 +01:00
parent e70fbe438b
commit bb1363f92e
17 changed files with 8 additions and 9 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
LANG1="us"
LANG2="lt"
CURRENT_LANG=$(setxkbmap -query | grep layout |awk -F" " '{print $2}')
if [ "$CURRENT_LANG" = $LANG1 ]; then
setxkbmap $LANG2 && echo $LANG2
else
setxkbmap $LANG1 && echo $LANG1
fi
xmodmap ~/.Xmodmap