banner/top,middle,bottom
This commit is contained in:
parent
c6c855bdac
commit
63ab82e03e
1 changed files with 7 additions and 7 deletions
14
spcd/main.sh
14
spcd/main.sh
|
@ -1134,9 +1134,9 @@ spcd_banner_add() {
|
||||||
|
|
||||||
spcd_banner_append() {
|
spcd_banner_append() {
|
||||||
if [ -n "${3}" ]; then
|
if [ -n "${3}" ]; then
|
||||||
SPCD_BANNER_1="${SPCD_BANNER_1}${1}"
|
SPCD_BANNER_TOP="${SPCD_BANNER_TOP}${1}"
|
||||||
SPCD_BANNER_2="${SPCD_BANNER_2}${2}"
|
SPCD_BANNER_MIDDLE="${SPCD_BANNER_MIDDLE}${2}"
|
||||||
SPCD_BANNER_3="${SPCD_BANNER_3}${3}"
|
SPCD_BANNER_BOTTOM="${SPCD_BANNER_BOTTOM}${3}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1146,9 +1146,9 @@ spcd_banner_close() {
|
||||||
|
|
||||||
spcd_banner_echo() {
|
spcd_banner_echo() {
|
||||||
echo "\
|
echo "\
|
||||||
${SPCD_BANNER_1}
|
${SPCD_BANNER_TOP}
|
||||||
${SPCD_BANNER_2}
|
${SPCD_BANNER_MIDDLE}
|
||||||
${SPCD_BANNER_3}"
|
${SPCD_BANNER_BOTTOM}"
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_banner_open() {
|
spcd_banner_open() {
|
||||||
|
@ -1160,7 +1160,7 @@ spcd_banner_split() {
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_banner_unset() {
|
spcd_banner_unset() {
|
||||||
unset SPCD_BANNER_1 SPCD_BANNER_2 SPCD_BANNER_3
|
unset SPCD_BANNER_TOP SPCD_BANNER_MIDDLE SPCD_BANNER_BOTTOM
|
||||||
}
|
}
|
||||||
|
|
||||||
# ╭──────────┬─────╮
|
# ╭──────────┬─────╮
|
||||||
|
|
Loading…
Reference in a new issue