blob: e07544b7a8d63e0b489fdef44cf27ed473378759 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
CURRENTLAYOUT=$(setxkbmap -print | awk -F"+" '/xkb_symbols/ {print $2}')
case "$CURRENTLAYOUT" in
pt)
setxkbmap us
;;
us)
setxkbmap pt
esac
setxkbmap -option caps:super
|