10 lines
174 B
Bash
Executable File
10 lines
174 B
Bash
Executable File
#! /bin/bash
|
|
|
|
CURRENT_LAYOUT=$(setxkbmap -query|awk -F : 'NR==3{print $2}'|sed 's/ //g')
|
|
|
|
if [ "$CURRENT_LAYOUT" = "us" ]; then
|
|
setxkbmap "ru"
|
|
else
|
|
setxkbmap "us"
|
|
fi
|