docs: update

This commit is contained in:
Dylan Araps 2019-09-24 19:08:32 +03:00
parent 1525ff0499
commit 36f8e0c5be

6
pfetch
View File

@ -75,9 +75,9 @@ log() {
# #
# This is ugly, I know! # This is ugly, I know!
printf '[%sC[3%s;1m%s%s[3%sm[%sD[%sC%s\n' \ printf '[%sC[3%s;1m%s%s[3%sm[%sD[%sC%s\n' \
"${ascii_width:--1}" "${PF_COL1:-4}" "$1" "$PF_SEP" \ "${ascii_width--1}" "${PF_COL1-4}" "$1" \
"${PF_COL2:-7}" "${#1}" "${PF_ALIGN:-$info_length}" \ "$PF_SEP" "${PF_COL2-7}" "${#1}" \
"$2" "${PF_ALIGN-$info_length}" "$2"
# Keep track of the number of times 'log()' has been run. # Keep track of the number of times 'log()' has been run.
: $((info_height+=1)) : $((info_height+=1))