cfg/.config/i3blocks/keyboard
Knut Ahlers ba151cf811
Update icons to fontawesome
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-12-23 16:01:32 +01:00

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 }'