diff options
Diffstat (limited to 'layout_switch')
-rwxr-xr-x | layout_switch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/layout_switch b/layout_switch deleted file mode 100755 index fdc6b65..0000000 --- a/layout_switch +++ /dev/null @@ -1,16 +0,0 @@ -#!/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 - |