From 88a16297a47b5962ade0f991baa2c09148fa5a60 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:21:16 +0300 Subject: [PATCH] fix keyboard statusbar --- config/dwm/scripts/bar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 4991c57d..d150cb6e 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -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 }