|
| 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