Compare commits

..

3 commits

Author SHA1 Message Date
5928a2fdcc
eval/open,shut
Some checks failed
/ arch (push) Successful in 2m55s
/ alpine (push) Successful in 1m52s
/ fedora (push) Successful in 12m33s
/ opensuse (push) Successful in 3m53s
/ alma (push) Successful in 12m56s
/ rocky (push) Successful in 14m24s
/ ubuntu (push) Successful in 5m47s
/ debian (push) Failing after 3m31s
2024-09-07 00:42:17 +02:00
1c1a60bc64
frame/* 2024-09-07 00:40:10 +02:00
d021f61997
−eval 2024-09-07 00:38:09 +02:00

View file

@ -143,11 +143,11 @@ _SPCD_FRAME_TOP="${_SPCD_BOX_DOWN_AND_RIGHT}${_SPCD_BOX_LEFT}"
_SPCD_FRAME_BOTTOM="${_SPCD_BOX_UP_AND_RIGHT}${_SPCD_BOX_LEFT}"
_spcd_frame_open() {
echo "${_SPCD_FRAME_TOP}${1}"
echo "${_SPCD_FRAME_TOP}${*}"
}
_spcd_frame_shut() {
echo "${_SPCD_FRAME_BOTTOM}${1}"
echo "${_SPCD_FRAME_BOTTOM}${*}"
}
# ╭───┬────╮
@ -249,8 +249,9 @@ nameserver ${value}
spcd_eval() {
if [ -n "${1}" ]; then
echo "${@}"
eval "${@}"
_spcd_frame_open "${@}"
"${@}"
_spcd_frame_shut "${@}"
fi
}