diff --git a/spcd/main.sh b/spcd/main.sh index 5b1b34c..c66e9d9 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -1134,9 +1134,9 @@ spcd_banner_add() { spcd_banner_append() { if [ -n "${3}" ]; then - SPCD_BANNER_1="${SPCD_BANNER_1}${1}" - SPCD_BANNER_2="${SPCD_BANNER_2}${2}" - SPCD_BANNER_3="${SPCD_BANNER_3}${3}" + SPCD_BANNER_TOP="${SPCD_BANNER_TOP}${1}" + SPCD_BANNER_MIDDLE="${SPCD_BANNER_MIDDLE}${2}" + SPCD_BANNER_BOTTOM="${SPCD_BANNER_BOTTOM}${3}" fi } @@ -1146,9 +1146,9 @@ spcd_banner_close() { spcd_banner_echo() { echo "\ -${SPCD_BANNER_1} -${SPCD_BANNER_2} -${SPCD_BANNER_3}" +${SPCD_BANNER_TOP} +${SPCD_BANNER_MIDDLE} +${SPCD_BANNER_BOTTOM}" } spcd_banner_open() { @@ -1160,7 +1160,7 @@ spcd_banner_split() { } spcd_banner_unset() { - unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3 + unset SPCD_BANNER_TOP SPCD_BANNER_MIDDLE SPCD_BANNER_BOTTOM } # ╭──────────┬─────╮