1
0
Fork 0
dotfiles/.local/bin/statusbar/sb-xkbmap

4 lines
195 B
Plaintext
Raw Normal View History

#/bin/sh
2023-02-06 10:27:26 +01:00
# pidof -x sbd-xkbmap >/dev/null 2>&1 || sbd-xkbmap >/dev/null 2>&1 &
2023-02-06 22:51:32 +01:00
printf "\033[11m\033[10m %s\n" "$(setxkbmap -query | grep -oP '(layout|variant):\s*\K\w+' | sed ':a;N;s/\n/:/')"