fix keyboard statusbar

This commit is contained in:
Sakooooo 2023-08-09 10:21:16 +03:00
parent 894b88de92
commit 88a16297a4
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -52,8 +52,8 @@ mem() {
keyboard() {
layout=$(xset -q | grep LED | awk '{ print $10 }')
case "$layout" in
"00000000") printf "^c$white^ us" ;;
"00001000") printf "^c$white^ ar" ;;
"00000000"|"00000001") printf "^c$white^ us" ;;
"00001000"|"00001001") printf "^c$white^ ar" ;;
esac
}