move config files to new yadm dir

This commit is contained in:
Simonas Narbutas
2019-11-21 10:23:04 +01:00
parent 8c78170a3a
commit 07551e044a
35 changed files with 439 additions and 7 deletions

10
.config/yadm/alt/.bin/kbdswitch Executable file
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