diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 1e17786f..4991c57d 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -50,7 +50,7 @@ mem() { } keyboard() { - layout=${xset -q | grep LED | awk '{ print $10 }'} + layout=$(xset -q | grep LED | awk '{ print $10 }') case "$layout" in "00000000") printf "^c$white^ us" ;; "00001000") printf "^c$white^ ar" ;;