switchlayout (149B)
1 #!/usr/bin/env sh 2 3 LAYOUT=$(setxkbmap -query | grep layout | awk '{print $2}') 4 if [ $LAYOUT = 'us' ]; then 5 setxkbmap ru 6 else 7 setxkbmap us 8 fi
dotfilesSettings and scripts | |
git clone git://git.konyahin.xyz/dotfiles | |
Log | Files | Refs | Submodules | LICENSE |