mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
@@ -101,6 +101,7 @@ BR2_PACKAGE_TRACEROUTE=y
|
||||
BR2_PACKAGE_ULOGD=y
|
||||
BR2_PACKAGE_WHOIS=y
|
||||
BR2_PACKAGE_BASH_COMPLETION=y
|
||||
BR2_PACKAGE_NEOFETCH=y
|
||||
BR2_PACKAGE_SUDO=y
|
||||
BR2_PACKAGE_TTYD=y
|
||||
BR2_PACKAGE_GETENT=y
|
||||
|
||||
@@ -121,6 +121,7 @@ BR2_PACKAGE_WIRELESS_REGDB=y
|
||||
BR2_PACKAGE_WIRELESS_TOOLS=y
|
||||
BR2_PACKAGE_WPA_SUPPLICANT=y
|
||||
BR2_PACKAGE_BASH_COMPLETION=y
|
||||
BR2_PACKAGE_NEOFETCH=y
|
||||
BR2_PACKAGE_SUDO=y
|
||||
BR2_PACKAGE_TTYD=y
|
||||
BR2_PACKAGE_HTOP=y
|
||||
|
||||
@@ -114,6 +114,7 @@ BR2_PACKAGE_TRACEROUTE=y
|
||||
BR2_PACKAGE_ULOGD=y
|
||||
BR2_PACKAGE_WHOIS=y
|
||||
BR2_PACKAGE_BASH_COMPLETION=y
|
||||
BR2_PACKAGE_NEOFETCH=y
|
||||
BR2_PACKAGE_SUDO=y
|
||||
BR2_PACKAGE_TTYD=y
|
||||
BR2_PACKAGE_GETENT=y
|
||||
|
||||
@@ -99,6 +99,7 @@ BR2_PACKAGE_TRACEROUTE=y
|
||||
BR2_PACKAGE_ULOGD=y
|
||||
BR2_PACKAGE_WHOIS=y
|
||||
BR2_PACKAGE_BASH_COMPLETION=y
|
||||
BR2_PACKAGE_NEOFETCH=y
|
||||
BR2_PACKAGE_SUDO=y
|
||||
BR2_PACKAGE_TTYD=y
|
||||
BR2_PACKAGE_GETENT=y
|
||||
|
||||
@@ -0,0 +1,91 @@
|
||||
Add Infix ASCII art support and adjust default info sets
|
||||
|
||||
This patch adds Infix OS ASCII art and disables some info sets
|
||||
from the default output while enabling others.
|
||||
|
||||
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
|
||||
|
||||
--- a/neofetch 2025-09-07 21:18:44.631712703 +0200
|
||||
+++ b/neofetch 2025-09-07 21:49:06.993228030 +0200
|
||||
@@ -53,21 +53,21 @@
|
||||
# See this wiki page for more info:
|
||||
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||
print_info() {
|
||||
- info title
|
||||
- info underline
|
||||
+ # info title
|
||||
+ # info underline
|
||||
|
||||
info "OS" distro
|
||||
info "Host" model
|
||||
info "Kernel" kernel
|
||||
info "Uptime" uptime
|
||||
- info "Packages" packages
|
||||
+ # info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "Resolution" resolution
|
||||
info "DE" de
|
||||
- info "WM" wm
|
||||
- info "WM Theme" wm_theme
|
||||
- info "Theme" theme
|
||||
- info "Icons" icons
|
||||
+ # info "WM" wm
|
||||
+ # info "WM Theme" wm_theme
|
||||
+ # info "Theme" theme
|
||||
+ # info "Icons" icons
|
||||
info "Terminal" term
|
||||
info "Terminal Font" term_font
|
||||
info "CPU" cpu
|
||||
@@ -76,17 +76,17 @@
|
||||
|
||||
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||
# info "CPU Usage" cpu_usage
|
||||
- # info "Disk" disk
|
||||
+ info "Disk" disk
|
||||
# info "Battery" battery
|
||||
# info "Font" font
|
||||
# info "Song" song
|
||||
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||
- # info "Local IP" local_ip
|
||||
- # info "Public IP" public_ip
|
||||
+ info "Local IP" local_ip
|
||||
+ info "Public IP" public_ip
|
||||
# info "Users" users
|
||||
# info "Locale" locale # This only works on glibc systems.
|
||||
|
||||
- info cols
|
||||
+ # info cols
|
||||
}
|
||||
|
||||
# Title
|
||||
@@ -113,7 +113,7 @@
|
||||
# Example:
|
||||
# on: '4.8.9-1-ARCH'
|
||||
# off: 'Linux 4.8.9-1-ARCH'
|
||||
-kernel_shorthand="on"
|
||||
+kernel_shorthand="off"
|
||||
|
||||
|
||||
# Distro
|
||||
@@ -7435,6 +7435,21 @@
|
||||
EOF
|
||||
;;
|
||||
|
||||
+ "Infix"*)
|
||||
+ set_colors 4 3
|
||||
+ read -rd '' ascii_data <<'EOF'
|
||||
+${c1} .---------------.
|
||||
+${c1} | |
|
||||
+${c1} | ${c2}• •${c1} |
|
||||
+${c1} | V |
|
||||
+${c1} |---. .---|
|
||||
+${c1} |${c2}▒▒▒${c1}| |${c2}▒▒▒${c1}|
|
||||
+${c1} '---'-------'---'
|
||||
+${c2} Hi, I'm Jacky! :)
|
||||
+
|
||||
+EOF
|
||||
+ ;;
|
||||
+
|
||||
"januslinux"*|"janus"*|"Ataraxia Linux"*|"Ataraxia"*)
|
||||
set_colors 4 5 6 2
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
@@ -0,0 +1,25 @@
|
||||
Source os-release in order
|
||||
|
||||
As per https://www.freedesktop.org/software/systemd/man/latest/os-release.html
|
||||
|
||||
> The file /etc/os-release takes precedence over /usr/lib/os-release.
|
||||
|
||||
We also prioritize both of them over the legacy /etc/lsb_release file.
|
||||
|
||||
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
|
||||
|
||||
--- a/neofetch 2025-09-07 22:34:09.458848918 +0200
|
||||
+++ b/neofetch 2025-09-07 22:35:14.458398622 +0200
|
||||
@@ -1001,9 +1001,9 @@
|
||||
-f /etc/openwrt_release || \
|
||||
-f /etc/lsb-release ]]; then
|
||||
|
||||
- # Source the os-release file
|
||||
- for file in /etc/lsb-release /usr/lib/os-release \
|
||||
- /etc/os-release /etc/openwrt_release; do
|
||||
+ # Source the os-release file in priority order
|
||||
+ for file in /etc/os-release /usr/lib/os-release \
|
||||
+ /etc/lsb-release /etc/openwrt_release; do
|
||||
source "$file" && break
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user