Skip to content

Commit 000b62a

Browse files
committed
patches: add Infix support in neofetch
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 1ee991b commit 000b62a

File tree

4 files changed

+93
-7
lines changed

4 files changed

+93
-7
lines changed

board/neofetch/busybox_defconfig

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,4 @@ CONFIG_DIRNAME=y # Path manipulation
4646
# CONFIG_SHOW_USAGE is not set
4747
# CONFIG_FEATURE_VERBOSE_USAGE is not set
4848
# CONFIG_LFS is not set
49-
# CONFIG_PAM is not set
50-
51-
# All network utilities disabled
52-
# All text editors disabled
53-
# All system services disabled
54-
# All archive utilities disabled
55-
# All filesystem utilities disabled (except basic file ops)
49+
# CONFIG_PAM is not set

configs/neofetch_amd64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl"
55
BR2_CCACHE=y
66
BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache"
77
BR2_STATIC_LIBS=y
8+
BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_CURIOS_PATH}/patches"
89
BR2_TARGET_GENERIC_HOSTNAME="curiOS"
910
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
1011
BR2_INIT_NONE=y

configs/neofetch_arm64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl"
66
BR2_CCACHE=y
77
BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache"
88
BR2_STATIC_LIBS=y
9+
BR2_GLOBAL_PATCH_DIR="${BR2_EXTERNAL_CURIOS_PATH}/patches"
910
BR2_TARGET_GENERIC_HOSTNAME="curiOS"
1011
BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS"
1112
BR2_INIT_NONE=y
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
Add Infix ASCII art support and adjust default info sets
2+
3+
This patch adds Infix OS ASCII art and disables some info sets
4+
from the default output while enabling others.
5+
6+
Signed-off-by: Joachim Wiberg <[email protected]>
7+
8+
--- a/neofetch 2025-09-07 21:18:44.631712703 +0200
9+
+++ b/neofetch 2025-09-07 21:49:06.993228030 +0200
10+
@@ -53,21 +53,21 @@
11+
# See this wiki page for more info:
12+
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
13+
print_info() {
14+
- info title
15+
- info underline
16+
+ # info title
17+
+ # info underline
18+
19+
info "OS" distro
20+
info "Host" model
21+
info "Kernel" kernel
22+
info "Uptime" uptime
23+
- info "Packages" packages
24+
+ # info "Packages" packages
25+
info "Shell" shell
26+
info "Resolution" resolution
27+
info "DE" de
28+
- info "WM" wm
29+
- info "WM Theme" wm_theme
30+
- info "Theme" theme
31+
- info "Icons" icons
32+
+ # info "WM" wm
33+
+ # info "WM Theme" wm_theme
34+
+ # info "Theme" theme
35+
+ # info "Icons" icons
36+
info "Terminal" term
37+
info "Terminal Font" term_font
38+
info "CPU" cpu
39+
@@ -76,17 +76,17 @@
40+
41+
# info "GPU Driver" gpu_driver # Linux/macOS only
42+
# info "CPU Usage" cpu_usage
43+
- # info "Disk" disk
44+
+ info "Disk" disk
45+
# info "Battery" battery
46+
# info "Font" font
47+
# info "Song" song
48+
# [[ "$player" ]] && prin "Music Player" "$player"
49+
- # info "Local IP" local_ip
50+
- # info "Public IP" public_ip
51+
+ info "Local IP" local_ip
52+
+ info "Public IP" public_ip
53+
# info "Users" users
54+
# info "Locale" locale # This only works on glibc systems.
55+
56+
- info cols
57+
+ # info cols
58+
}
59+
60+
# Title
61+
@@ -113,7 +113,7 @@
62+
# Example:
63+
# on: '4.8.9-1-ARCH'
64+
# off: 'Linux 4.8.9-1-ARCH'
65+
-kernel_shorthand="on"
66+
+kernel_shorthand="off"
67+
68+
69+
# Distro
70+
@@ -7435,6 +7435,20 @@
71+
EOF
72+
;;
73+
74+
+ "Infix"*)
75+
+ set_colors 4 3
76+
+ read -rd '' ascii_data <<'EOF'
77+
+${c1} .---------------.
78+
+${c1} | |
79+
+${c1} | ${c2}• •${c1} |
80+
+${c1} | V |
81+
+${c1} |---. .---|
82+
+${c1} |${c2}▒▒▒${c1}| |${c2}▒▒▒${c1}|
83+
+${c1} '---'-------'---'
84+
+
85+
+EOF
86+
+ ;;
87+
+
88+
"januslinux"*|"janus"*|"Ataraxia Linux"*|"Ataraxia"*)
89+
set_colors 4 5 6 2
90+
read -rd '' ascii_data <<'EOF'

0 commit comments

Comments
 (0)