blob: fdc6b653b71919a1dae9e3969ab8d8f091d47774 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/zsh -x
CUR_US=$(setxkbmap -print | grep xkb_symbols | grep -o "+us+")
CUR_RU=$(setxkbmap -print | grep xkb_symbols | grep -o "+ru+")
if [[ $CUR_US == "" ]]; then
setxkbmap us
fi
if [[ $CUR_RU == "" ]]; then
setxkbmap ru
fi
setxkbmap -option
xmodmap ~/.Xmodmap
|