diff --git a/src/fetch b/src/fetch index 62339ed..5f96ba3 100755 --- a/src/fetch +++ b/src/fetch @@ -86,6 +86,10 @@ draw() { printf "$out" } +free() { + printf "0" +} + # 清屏 clear @@ -109,53 +113,58 @@ get_shell ram=$(free | awk '/Mem:/ {print int($3/$2 * 100.0)}') -# vertical padding -printf "%b" "$PADR" -printf "\n" - PADXX=$((PADX - 3)) for ((i = 0; i < PADXX; ++i)); do PADCC="$PADCC " done -# Ascii art arms + +block_1=" ▓▓ " +block_2=" ▒▒ " +block_3=" ░░ " + + +logo_1="${_cre}${block_1}${block_1}${block_1}${block_1}${block_1}${block_1}${_cnc}" +logo_2="${_cbl}${block_1}${_cma}${block_1}${block_1}${block_1}${block_1}${_cgr}${block_1}${_cnc}" +logo_3="${_cbl}${block_1}${_cre}${block_1}${_cbk}${block_3}${block_3}${_ccy}${block_1}${_cgr}${block_1}${_cnc}" +logo_4="${_cbl}${block_1}${_cre}${block_1}${_cbk}${block_3}${block_3}${_ccy}${block_1}${_cgr}${block_1}${_cnc}" +logo_5="${_cbl}${block_1}${_cwh}${block_1}${block_1}${block_1}${_ccy}${block_1}${_cgr}${block_1}${_cnc}" +logo_6="${_cye}${block_1}${block_1}${block_1}${block_1}${block_1}${_cgr}${block_1}${_cnc}" + +deb_1=" _ _ _ " +deb_2=" __| | ___| |__ (_) __ _ _ ___" +deb_3=" / _\` |/ _ \ '_ \| |/ _\` | '_ \ " +deb_4=" | (_| | __/ |_) | | (_| | | | |" +deb_5=" \__,_|\___|_.__/|_|\__,_|_| |_|" + cat <