Add files via upload
This commit is contained in:
9
config/bspwm/scripts/toogle_kb.sh
Executable file
9
config/bspwm/scripts/toogle_kb.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /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
|
||||
Reference in New Issue
Block a user