aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2020-03-10 00:06:06 +0200
committerDylan Araps <dylan.araps@gmail.com>2020-03-10 00:06:06 +0200
commit577e8483a787434f90f2843081eda706828174ea (patch)
tree17bf90c8f59a1c04c7ed31319f4f518fccf59dd1
parent6558b34254d9eb6b974e96e410555435b13e52f1 (diff)
downloadpfetch-577e8483a787434f90f2843081eda706828174ea.tar.gz
irix: ASCII
-rwxr-xr-xpfetch22
1 files changed, 12 insertions, 10 deletions
diff --git a/pfetch b/pfetch
index 2c8ee97..5c1565a 100755
--- a/pfetch
+++ b/pfetch
@@ -25,7 +25,7 @@ log() {
# Construct the information string.
out="[3${PF_COL1-4};1m${name}"
out="$out${PF_SEP}[$((info_length-${#name}))C"
- out="$out[3${PF_COL2-7}m${info:-?}"
+ out="$out[3${PF_COL2-7}m$info"
}
get_title() {
@@ -216,7 +216,9 @@ get_kernel() {
case $os in
# Don't print kernel output on some systems as the
# OS name includes it.
- *BSD*|Haiku|Minix) ;;
+ *BSD*|Haiku|Minix)
+ log kernel "?"
+ ;;
IRIX)
kernel=$(uname -vR)
@@ -1089,14 +1091,14 @@ get_ascii() {
;;
[Ii][Rr][Ii][Xx]*)
- read_ascii 4 <<-EOF
- TODO
- TODO
- TODO
- TODO
- TODO
- TODO
- TODO
+ read_ascii 1 <<-EOF
+ ${c1} __
+ ${c1} \\ \\ __
+ ${c1} \\ \\ / /
+ ${c1} \\ v /
+ ${c1} / . \\
+ ${c1} /_/ \\ \\
+ ${c1} \\_\\
EOF
;;