Merge pull request #160 from tactlessfish/fix-default-col2
Fix default PF_COL2, closes #147
This commit is contained in:
commit
c574b14569
|
@ -82,7 +82,7 @@ PF_COL1=4
|
||||||
# Color of info data:
|
# Color of info data:
|
||||||
# Default: unset (auto)
|
# Default: unset (auto)
|
||||||
# Valid: 0-9
|
# Valid: 0-9
|
||||||
PF_COL2=7
|
PF_COL2=9
|
||||||
|
|
||||||
# Color of title data:
|
# Color of title data:
|
||||||
# Default: unset (auto)
|
# Default: unset (auto)
|
||||||
|
|
2
pfetch
2
pfetch
|
@ -150,7 +150,7 @@ log() {
|
||||||
|
|
||||||
# Print the info data, color it and strip all leading whitespace
|
# Print the info data, color it and strip all leading whitespace
|
||||||
# from the string.
|
# from the string.
|
||||||
esc_p SGR "3${PF_COL2-7}"
|
esc_p SGR "3${PF_COL2-9}"
|
||||||
printf '%s' "$info"
|
printf '%s' "$info"
|
||||||
esc_p SGR 0
|
esc_p SGR 0
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user