box constants

This commit is contained in:
Marc Beninca 2024-09-01 15:56:18 +02:00
parent 861f89c060
commit f6bba57159
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -4,6 +4,15 @@
# │ _ │
# ╰───╯
_SPCD_BOX_DOWN_AND_HORIZONTAL="┬"
_SPCD_BOX_DOWN_AND_LEFT="╮"
_SPCD_BOX_DOWN_AND_RIGHT="╭"
_SPCD_BOX_HORIZONTAL="─"
_SPCD_BOX_UP_AND_HORIZONTAL="┴"
_SPCD_BOX_UP_AND_LEFT="╯"
_SPCD_BOX_UP_AND_RIGHT="╰"
_SPCD_BOX_VERTICAL="│"
_SPCD_CMD_SUM="sha512sum"
_spcd_fill() {
@ -18,14 +27,14 @@ _spcd_fill() {
# │ _ │ banner │
# ╰───┴────────╯
_SPCD_BANNER_DOWN_AND_HORIZONTAL=""
_SPCD_BANNER_DOWN_AND_LEFT=""
_SPCD_BANNER_DOWN_AND_RIGHT=""
_SPCD_BANNER_HORIZONTAL=""
_SPCD_BANNER_UP_AND_HORIZONTAL=""
_SPCD_BANNER_UP_AND_LEFT=""
_SPCD_BANNER_UP_AND_RIGHT=""
_SPCD_BANNER_VERTICAL=""
_SPCD_BANNER_DOWN_AND_HORIZONTAL="${_SPCD_BOX_DOWN_AND_HORIZONTAL}"
_SPCD_BANNER_DOWN_AND_LEFT="${_SPCD_BOX_DOWN_AND_LEFT}"
_SPCD_BANNER_DOWN_AND_RIGHT="${_SPCD_BOX_DOWN_AND_RIGHT}"
_SPCD_BANNER_HORIZONTAL="${_SPCD_BOX_HORIZONTAL}"
_SPCD_BANNER_UP_AND_HORIZONTAL="${_SPCD_BOX_UP_AND_HORIZONTAL}"
_SPCD_BANNER_UP_AND_LEFT="${_SPCD_BOX_UP_AND_LEFT}"
_SPCD_BANNER_UP_AND_RIGHT="${_SPCD_BOX_UP_AND_RIGHT}"
_SPCD_BANNER_VERTICAL="${_SPCD_BOX_VERTICAL}"
_spcd_banner_add() {
if [ -n "${1}" ]; then