diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2020-11-23 15:52:40 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2020-11-23 15:52:40 +0100 |
| commit | 07801f7145cb7529bbd66a160bcf5847ceab537a (patch) | |
| tree | 3090a999dce5b84ccb4b2bb9bd428452ac1319b2 /bin/i3status.sh | |
| parent | 2b8430a8f5146726753bf7c12c7adcef4e19fcb9 (diff) | |
| download | dotfiles-07801f7145cb7529bbd66a160bcf5847ceab537a.tar.gz dotfiles-07801f7145cb7529bbd66a160bcf5847ceab537a.zip | |
bin: change the keyboard layout being picked
- mi: the US keyboard layout is apparently the same as the one for the Māori
keyboard language, with the advantage of being able to use macrons. Let's
replace the US one with this other one.
- ca: since I'm using the catalan variant, it makes more sense to show this one
instead of the standard `es`.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'bin/i3status.sh')
| -rwxr-xr-x | bin/i3status.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/i3status.sh b/bin/i3status.sh index b4e63d8..1d08b8c 100755 --- a/bin/i3status.sh +++ b/bin/i3status.sh @@ -24,5 +24,9 @@ i3status --config ~/.i3status.conf | while : do read line LG=$(setxkbmap -query | awk '/layout/{print $2}') + + if [ "$LG" = "es" ]; then + LG="ca" + fi echo "LG: $LG | $line" || exit 1 done |
