docs: update

This commit is contained in:
Dylan Araps 2019-09-24 15:14:12 +03:00
parent b3bdb3dbdd
commit 678feb2608

24
pfetch
View File

@ -53,22 +53,22 @@ log() {
# #
# $[6] /home/goldie $ # $[6] /home/goldie $
# #
# PF_COL1: Control color of info name. # '$PF_COL1': Control color of info name.
# PF_SEP: Control the separator between info name and info data. # '$PF_SEP': Control the separator between info name and info data.
# PF_COL2: Control color of info data. # '$PF_COL2': Control color of info data.
# PF_ALIGN: Control the alignment amount. # '$PF_ALIGN': Control the alignment amount.
# #
# '\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 formatting. # '\033[3%s': Color formatting.
# '\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.
# This allows for aligned info names and data. # This allows for aligned info names and data.
# #
# '\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.
# #
# This is ugly, I know! # This is ugly, I know!
printf '\033[%sC\033[3%s;1m%s\033[m%s\033[3%sm\033[%sD\033[%sC%s\033[m\n' \ printf '\033[%sC\033[3%s;1m%s\033[m%s\033[3%sm\033[%sD\033[%sC%s\033[m\n' \