projects
/
~bandali
/
configs
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
[sxhkd] reapply .Xmodmap when changing lang to ENG
[~bandali/configs]
/
sxhkd
/
.local
/
bin
/
toggle-layout
Commit
Line
Data
ed5099ff
AB
1
#!/bin/bash
2
3
lang="$(setxkbmap -print | grep xkb_symbols | cut -d'+' -f 2)"
4
5
if [ "$lang" = "us" ]; then
6
setxkbmap ir
7
else
8
setxkbmap us
35946816
AB
9
xmodmap $HOME/.Xmodmap
10
fi