docs: update

This commit is contained in:
Dylan Araps 2019-09-24 12:27:50 +03:00
parent 9ccbbd40d3
commit d10cf637da

6
pfetch
View File

@ -16,9 +16,7 @@ log() {
# '\033[14C': Move cursor 14 characters to the right. # '\033[14C': Move cursor 14 characters to the right.
# TODO: Base this on ASCII art width. # TODO: Base this on ASCII art width.
# #
# '\033[3%s': Color info name. # '\033[3%s': Color formatting.
# '\033[m': Reset formatting.
# '\033[3%s': Color info data.
# '\033[m': Reset formatting. # '\033[m': Reset formatting.
# #
# '\033[%sD': Move cursor '${#1}' characters to the left. # '\033[%sD': Move cursor '${#1}' characters to the left.
@ -26,8 +24,6 @@ log() {
# #
# '\033[6C': Move cursor 6 characters to the right. # '\033[6C': Move cursor 6 characters to the right.
# This aligns the info. # This aligns the info.
#
# '\033[m': Reset formatting.
printf '\033[14C\033[3%s;1m%s\033[m%s\033[3%sm\033[%sD\033[6C%s\033[m\n' \ printf '\033[14C\033[3%s;1m%s\033[m%s\033[3%sm\033[%sD\033[6C%s\033[m\n' \
"${PF_COLOR1:-5}" \ "${PF_COLOR1:-5}" \
"$1" \ "$1" \