From c31395c0a6f0f79d01cfc3901451bd91cb42079e Mon Sep 17 00:00:00 2001 From: Yuri Norwood <76186754+yuri-norwood@users.noreply.github.com> Date: Tue, 23 Nov 2021 10:10:03 +1300 Subject: [PATCH 1/2] Fix spelling --- pfetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pfetch b/pfetch index 50147ab..6793248 100755 --- a/pfetch +++ b/pfetch @@ -1094,7 +1094,7 @@ get_palette() { palette="$palette$e" } - # Print the palette with a new-line before and afterwards but no seperator. + # Print the palette with a new-line before and afterwards but no separator. printf '\n' >&6 log "$palette " " " " " >&6 @@ -1810,7 +1810,7 @@ get_ascii() { # This ensures that any variables defined in the while loop # are still accessible in the script. done <<-EOF - $(printf %s "$ascii" | sed 's/\[3.m//g') + $(printf %s "$ascii" | sed 's/\[3.m//g') EOF # Add a gap between the ascii art and the information. @@ -1863,7 +1863,7 @@ EOF # shellcheck source=/dev/null ! [ -f "$PF_SOURCE" ] || . "$PF_SOURCE" - # Ensure that the 'TMPDIR' is writable as heredocs use it and + # Ensure that the 'TMPDIR' is writeable as heredocs use it and # fail without the write permission. This was found to be the # case on Android where the temporary directory requires root. [ -w "${TMPDIR:-/tmp}" ] || export TMPDIR=~ From f475e3baaedbde9c5a7eac422d2a8507cabdee20 Mon Sep 17 00:00:00 2001 From: Yuri Norwood <76186754+yuri-norwood@users.noreply.github.com> Date: Tue, 23 Nov 2021 10:33:22 +1300 Subject: [PATCH 2/2] Add GalliumOS ascii art --- pfetch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pfetch b/pfetch index 6793248..d21f251 100755 --- a/pfetch +++ b/pfetch @@ -1353,6 +1353,17 @@ get_ascii() { EOF ;; + ([Gg]allium[Oo][Ss]) + read_ascii 4 <<-EOF + ${c4}\\ooooo/:::: + y\\ooo/\\:::: + yy\\o/${c7}MM${c4}\\::: + yyy\\${c7}MM${c4}/.\\:: + yyyyy/...\\: + yyyy/.....\\ + EOF + ;; + ([Gg]entoo*) read_ascii 5 <<-EOF ${c5} _-----_