From 3d056240c6ee5263291bc2219b56db064bfaf49f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 8 Aug 2023 10:40:21 +0300 Subject: [PATCH] fix script by using ) --- config/dwm/scripts/bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ;;