From 7b66343d42a2c09c6ba54308c39cce66b42f0232 Mon Sep 17 00:00:00 2001 From: Adrian Groh Date: Fri, 12 May 2023 13:00:57 +0200 Subject: [PATCH] feat(logos): add Alma Linux logo --- README.md | 22 +++++++++++----------- pfetch-extractor/logos.sh | 15 +++++++++++++++ print_all.sh | 1 + 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 05c6333..235c980 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,23 @@ minimalistic look. **Supported Platforms:** Linux, Android, macOS, Windows, FreeBSD, NetBSD -**Included Logos:** Alpine Linux, Android, AmogOS _(new)_, Arch Linux, -ArcoLinux, Artix Linux, Bedrock Linux, Buildroot, CelOS, CentOS, Crystal Linux, -dahliaOS, Debian, Devuan, DietPi _(new)_, DragonflyBSD, Elementary OS, -EndeavourOS, Fedora, Fiwix _(new)_, FreeBSD, Garuda Linux, Gentoo Linux, Gnu, -Guix, Haiku, HydroOS, Hyperbola, instantOS, IRIX, KDE neon, Linux Lite, Linux, -Mint, macOS, Mageia, Manjaro, Minix, MorphOS _(new)_, MX Linux, NetBSD, NixOS, -Nobara Project _(new)_, OpenBSD, openSUSE Tumbleweed, openSUSE Leap, OpenWrt, -Parabola, Pop!\_OS _(updated)_, PureOS, Raspbian, Rocky Linux _(new)_, -SerenityOS, Slackware, Solus, SteamOS _(new)_, Solaris, Ubuntu, Vanilla OS -_(new)_, Void Linux, Windows _(new)_, Xeonix Linux +**Included Logos:** Alma Linux _(new)_, Alpine Linux, Android, AmogOS _(new)_, +Arch Linux, ArcoLinux, Artix Linux, Bedrock Linux, Buildroot, CelOS, CentOS, +Crystal Linux, dahliaOS, Debian, Devuan, DietPi _(new)_, DragonflyBSD, +Elementary OS, EndeavourOS, Fedora, Fiwix _(new)_, FreeBSD, Garuda Linux, Gentoo +Linux, Gnu, Guix, Haiku, HydroOS, Hyperbola, instantOS, IRIX, KDE neon, Linux +Lite, Linux, Mint, macOS, Mageia, Manjaro, Minix, MorphOS _(new)_, MX Linux, +NetBSD, NixOS, Nobara Project _(new)_, OpenBSD, openSUSE Tumbleweed, openSUSE +Leap, OpenWrt, Parabola, Pop!\_OS _(updated)_, PureOS, Raspbian, Rocky Linux +_(new)_, SerenityOS, Slackware, Solus, SteamOS _(new)_, Solaris, Ubuntu, Vanilla +OS _(new)_, Void Linux, Windows _(new)_, Xeonix Linux For all other distributions, a penguin will be displayed. _Credit to [the original pfetch](https://github.com/dylanaraps/pfetch) and [its contributors](https://github.com/dylanaraps/pfetch/graphs/contributors)._ -If you want to add a logo, feel free to make a Pull Request. +If you want a logo to be added, feel free to open an issue or a PR. ## Installation diff --git a/pfetch-extractor/logos.sh b/pfetch-extractor/logos.sh index 83f2d10..88a7092 100644 --- a/pfetch-extractor/logos.sh +++ b/pfetch-extractor/logos.sh @@ -24,6 +24,21 @@ # SOFTWARE. case ${1:-${PF_ASCII:-${distro:-$os}}} in + [Aa]lma*) + read_ascii 3 <<- EOF + ${c1} {#@ ., ${c3} ,..<. + ${c1} ._\`=# ${c3}/#=#,"" + ${c1} \\## \` ${c3}|\` '=## + ${c4} .${c1}\`'=. ${c3}\\ ${c2},_,., + ${c4} .."#- ${c1}\` ${c2}\` \\## + ${c4}\## # ./ ${c6}\\. ${c2}.#\`,+ + ${c4} =##=' ${c6}, |, ${c2}|# "" + ${c6} =##=++#| + ${c6} ##\\'' + ${c6} \`'\` + EOF + ;; + [Aa]lpine*) read_ascii 4 <<- EOF ${c4} /\\ /\\ diff --git a/print_all.sh b/print_all.sh index e8d2fb8..2d27a79 100755 --- a/print_all.sh +++ b/print_all.sh @@ -5,6 +5,7 @@ while read -r logo; do PF_ASCII=$logo "$@" done << EOF +alma alpine android amogos