11 lines
194 B
Bash
Executable file
11 lines
194 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
which getxkblayout >/dev/null 2>/dev/null || {
|
|
printf '\uf071 getxkblayout package missing'
|
|
exit 1
|
|
}
|
|
|
|
printf '\uf11c '
|
|
|
|
getxkblayout | awk '/short/{ print $2 }'
|