Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add Macaroni OS #2424

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 42 additions & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ image_source="auto"
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, HydroOS
# Hyperbola, iglunix, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, Korora,
# KSLinux, Kubuntu, LEDE, LaxerOS, LibreELEC, LFS, Linux_Lite, LMDE,
# Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, Manjaro, TeArch, Maui,
# Lubuntu, Lunar, MacaroniOS, macos, Mageia, MagpieOS, Mandriva, Manjaro, TeArch, Maui,
# Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD,
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
Expand Down Expand Up @@ -1008,6 +1008,17 @@ get_distro() {
distro="Proxmox VE ${distro%/*}"
esac

elif type -p anise >/dev/null; then
for file in /etc/lsb-release /etc/os-release ; do
source "$file"
done

case $distro_shorthand in
on|tiny) distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}}" ;;
*)
distro="${NAME:-${DISTRIB_DESCRIPTION:-MacaroniOS}} ${VERSION:-${DISTRIB_RELEASE}}"
esac

elif type -p lsb_release >/dev/null; then
case $distro_shorthand in
on) lsb_flags=-si ;;
Expand Down Expand Up @@ -1565,6 +1576,7 @@ get_packages() {
has swupd && tot swupd bundle-list --quiet
has pisi && tot pisi li
has pacstall && tot pacstall -L
has anise && tot anise s --installed

# Using the dnf package cache is much faster than rpm.
if has dnf && type -p sqlite3 >/dev/null && [[ -f /var/cache/dnf/packages.db ]]; then
Expand Down Expand Up @@ -8414,6 +8426,35 @@ ${c3} __
EOF
;;

"MacaroniOS"* | "Macaroni OS"*)

set_colors 2 3 15 14
read -rd '' ascii_data <<'EOF'
${c2}
-=+++==--::.. .-+++==-:.
.:--:-=++==-:. :=*+=--==+***######**+-:
.---:-===-----===+++==-:.. :=+=--=+*****+++*****#%%%#-
.=*********+++========+++++=--:. .:-=+++++++=-:.. .=*=::.
:-=-. .:::---===+++++++++++*******++====+**+++=-:. :+*-..
.. -++ ..:--==+***********=:. -*=
. :+. . ${c3}...${c2} .:--===:. .++
.*: . ${c3}:+#%%@@%%#=: ${c2}--
${c2}-= ${c3}-#@@@@@@@@@@@@#: ${c2}.
${c3}:*%@%%@@@@@@@@@@@%+ .:--====-:.
:*%%%%%%%%%@@@@@@@@@*. :=*#%%%%@@@@@%#+-
.*%%%%%%%%%%%%%@@#+--=- -*%%%%%%%%%%%@@@@@%#=
-#%%%%%%%%%%%%%#: :+: :+%*#%%%%%%%%%%%%%%%%%*.
+%%%%%%%%%%%%%%: .#*: *+-*%%%%%%%%%%%%%%%%%+
+%%%%%%%%%%%%%# . . . :%%%%%%%%%%%%%%%%%#.
=#%%%%%%%%%%%%# . . =%%%%%%%%%%%%%%%%%*.
.*%%%%%%%%%%%%%* : =%%%%%%%%%%%%%%%%%#-
:#%%%%%%%%%%%%%#=.... .=*%%%%%%%%%%%%%%%%%%*:
:*%@@%%%%%%%%%%%%#+. :+#%%%%%%%%%%%%%#*-
=*%%@@%%%%%%%#*- .-=+**##**+=:
:=*######+=:
EOF
;;

"mac"*"_small")
set_colors 2 3 1 5 4
read -rd '' ascii_data <<'EOF'
Expand Down