From df8f030257e8e74ac697bcf60f38041bb6d5f3a7 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 2 Nov 2022 15:47:04 +0100 Subject: [PATCH] fix bad quoting --- dotmatrix.theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotmatrix.theme b/dotmatrix.theme index 8378860..4a403fe 100644 --- a/dotmatrix.theme +++ b/dotmatrix.theme @@ -370,7 +370,7 @@ _lp_dotmatrix_theme_prompt() { fi __dotmatrix_make_sep_soft ${DOTMATRIX_COLOR_SEP_DARK[@]+"${DOTMATRIX_COLOR_SEP_DARK[@]}"} - declare -a blt=("$battery" "$load" "$temperature") + declare -a blt=($battery $load $temperature) # Unquoted on purpose. if [[ ${#blt[@]} -gt 0 ]] ; then _lp_join "$dotmatrix_sep" "${blt[@]}" if [[ -n "$lp_join" ]] ; then @@ -435,7 +435,7 @@ _lp_dotmatrix_theme_prompt() { local djc_plug="${dotmatrix_sep}" __dotmatrix_make_sep_soft ${DOTMATRIX_COLOR_SEP_LITE[@]+"${DOTMATRIX_COLOR_SEP_LITE[@]}"} - declare -a drs=("$detached_sessions" "$running_jobs" "$stopped_jobs") + declare -a drs=($detached_sessions $running_jobs $stopped_jobs) # Unquoted on purpose. if [[ ${#drs[@]} -gt 0 ]] ; then _lp_join "$dotmatrix_sep" "${drs[@]}" if [[ -n "$lp_join" ]] ; then