Skip to content

Commit 9cc9c62

Browse files
troglobitclaude
andcommitted
neofetch: add curiOS support and reduce logo spacing
The alignment issue was caused by UTF-8 characters (• and ▒) having different display widths compared to US-ASCII. This is usually not an issue on systems where the setting LANG=C.UTF-8, or similar, is in the environment. However on embedded systems, and in our case the curiOS container that is built with uClibc, we have no fancy stuff like that. For the container use-case we therefore opt to replace the eyes and feet with regular US-ASCII symbols. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1 parent 43db1d8 commit 9cc9c62

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

patches/neofetch/0001-add-infix-support.patch

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
Add Infix ASCII art support and adjust default info sets
1+
Add Infix and curiOS ASCII art support and adjust default info sets
22

3-
This patch adds Infix OS ASCII art and disables some info sets
4-
from the default output while enabling others.
3+
This patch adds Infix/curiOS ASCII art (Jacky the Jack!) and disables
4+
some info sets from the default output while enabling others.
5+
6+
Both Infix and curiOS use the same logo since curiOS is built by the
7+
same team at KernelKit.
58

69
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
710

@@ -67,22 +70,21 @@ Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
6770

6871

6972
# Distro
70-
@@ -7435,6 +7435,21 @@
73+
@@ -7435,6 +7435,20 @@
7174
EOF
7275
;;
73-
74-
+ "Infix"*)
76+
77+
+ "Infix"*|"curiOS"*)
7578
+ set_colors 4 3
7679
+ read -rd '' ascii_data <<'EOF'
7780
+${c1} .---------------.
7881
+${c1} | |
79-
+${c1} | ${c2} ${c1} |
82+
+${c1} | ${c2}* *${c1} |
8083
+${c1} | V |
8184
+${c1} |---. .---|
82-
+${c1} |${c2}▒▒▒${c1}| |${c2}▒▒▒${c1}|
85+
+${c1} |${c2}###${c1}| |${c2}###${c1}|
8386
+${c1} '---'-------'---'
8487
+${c2} Hi, I'm Jacky! :)
85-
+
8688
+EOF
8789
+ ;;
8890
+

0 commit comments

Comments
 (0)