From 517b5b0f685fd00270da1038c50ee1facd9b9e58 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 24 Aug 2024 13:04:49 +0200 Subject: [PATCH] spcd_banner_echo --- spcd/main.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index f0571a9..dcc5cc0 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -1066,10 +1066,7 @@ spcd_banner() { # spcd_banner_close # - echo "\ -${SPCD_BANNER_1} -${SPCD_BANNER_2} -${SPCD_BANNER_3}" + spcd_banner_echo spcd_banner_wipe } @@ -1095,6 +1092,13 @@ spcd_banner_close() { spcd_banner_add_123 "╮" "${SPCD_VERT}" "╯" } +spcd_banner_echo() { + echo "\ +${SPCD_BANNER_1} +${SPCD_BANNER_2} +${SPCD_BANNER_3}" +} + spcd_banner_open() { spcd_banner_add_123 "${SPCD_BOX_DOWN}" "${SPCD_VERT}" "${SPCD_BOX_UP}" }