draw
This commit is contained in:
parent
d868285484
commit
51f24cabcd
1 changed files with 13 additions and 4 deletions
17
cd.sh
17
cd.sh
|
@ -576,7 +576,12 @@ local path
|
||||||
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
|
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
|
||||||
$(cd_echo CD_OS_ID CD_OS_VERSION)
|
$(cd_echo CD_OS_ID CD_OS_VERSION)
|
||||||
|
|
||||||
$(cd_echo CD_HORIZONTAL CD_OPEN CD_SHUT CD_SPLIT)
|
|
||||||
|
$(cd_echo CD_OPEN CD_SHUT)
|
||||||
|
|
||||||
|
$(cd_echo CD_HORIZONTAL)
|
||||||
|
|
||||||
|
$(cd_echo CD_DOWN CD_SPLIT CD_UP)
|
||||||
"
|
"
|
||||||
#
|
#
|
||||||
cd_split
|
cd_split
|
||||||
|
@ -702,9 +707,9 @@ cd_split () {
|
||||||
cd_step () {
|
cd_step () {
|
||||||
CD_STEP=$((CD_STEP+1))
|
CD_STEP=$((CD_STEP+1))
|
||||||
echo -n "\
|
echo -n "\
|
||||||
${CD_BOX_DOWN}${CD_HORIZONTAL}
|
${CD_DOWN}
|
||||||
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
|
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
|
||||||
${CD_BOX_UP}${CD_HORIZONTAL}
|
${CD_UP}
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -744,10 +749,14 @@ CD_PM_APT="apt"
|
||||||
CD_PM_DNF="dnf"
|
CD_PM_DNF="dnf"
|
||||||
CD_PM_PACMAN="pacman"
|
CD_PM_PACMAN="pacman"
|
||||||
|
|
||||||
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
|
|
||||||
CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
|
CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
|
||||||
CD_SHUT="${CD_BOX_UP}${CD_BOX_LEFT}"
|
CD_SHUT="${CD_BOX_UP}${CD_BOX_LEFT}"
|
||||||
|
|
||||||
|
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
|
||||||
|
|
||||||
|
CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}"
|
||||||
CD_SPLIT="${CD_BOX_RIGHT}${CD_HORIZONTAL}"
|
CD_SPLIT="${CD_BOX_RIGHT}${CD_HORIZONTAL}"
|
||||||
|
CD_UP="${CD_BOX_UP}${CD_HORIZONTAL}"
|
||||||
|
|
||||||
# run
|
# run
|
||||||
cd_main "${@}"
|
cd_main "${@}"
|
||||||
|
|
Loading…
Reference in a new issue