10 lines
216 B
Bash
Executable file
10 lines
216 B
Bash
Executable file
#!/bin/sh
|
|
# Get current keyboard layout
|
|
|
|
layout="$( \
|
|
setxkbmap -query | grep layout | awk '{print $2}' |
|
|
sed 's/latam/la/' \
|
|
)"
|
|
|
|
echo "$layout"
|
|
notify-send -u low --replace-id=12 " Layout" "$layout"
|