Added Pisi Linux support for Neofetch. (#1723)

* Added PiSi support

* Add placeholder PiSi ascii art

* Added actual PisiLinux logo

* Colorize PisiLinux logo

* Improvement in ascii art

* Added Pisi to the list of supported distributions

* Updated manpage

* Fixed flaws in ascii art

Co-authored-by: Berkan Şahin <berkan.sahin@ug.bilkent.edu.tr>
This commit is contained in:
Berk Çakar 2021-06-22 07:00:27 +03:00 committed by GitHub
parent bc71e732a9
commit bbbb68f8b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 21 deletions

View file

@ -798,7 +798,7 @@ image_source="auto"
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
# osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix,
# TrueOS, PCLinuxOS, Pengwin, Peppermint, popos, Porteus, PostMarketOS,
# TrueOS, PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
# Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian,
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith,
# Rocky, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
@ -1554,6 +1554,7 @@ get_packages() {
has alps && tot alps showinstalled
has butch && tot butch list
has swupd && tot swupd bundle-list --quiet
has pisi && tot pisi li
# 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
@ -5147,7 +5148,7 @@ ASCII:
NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana,
openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle,
OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS,
PCLinuxOS, Pengwin, Peppermint, popos, Porteus, PostMarketOS,
PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
@ -5550,7 +5551,7 @@ ${c2}
| GNU/Linux
EOF
;;
"Hash"*)
set_colors 123
read -rd '' ascii_data <<'EOF'
@ -9490,6 +9491,31 @@ ${c1} PPPPPPPPPPPPPP
EOF
;;
"Pisi"*)
set_colors 12 7 6 1 8
read -rd '' ascii_data <<'EOF'
${c1} \Fv/!- `:?lzC
${c1} Q!::=zFx! ${c2}`;v6WBCicl;` ${c1},vCC\!::#.
${c1} ,%:::,'` ${c2}+#%@@FQ@@. ,cF%i${c1}``-',::a?
${c1} +m:,'```${c2}}3,/@@Q\@@ "af-${c1} `-'"7f
=o'.` ${c2}/m' :Q@:Qg ,kl${c1} `.|o
:k` '${c2}$+ 'Narm >d,${c1} ii
#`${c2}!p. `C , 'd+${c1} %'
${c2} !0m `6Kv
=a m+
!A !\L|: :|L\! $:
.8` Q''%Q#' '#Q%''Q `0-
:6 E|.6QQu uQQ6.|E p:
i{ \jts9? ?9stj\ u\
|a` -''. `e>
,m+ ${c1}'^ !`${c2}s@@@@a${c1}'"`+`${c2} >e'
!3|${c1}`|=>>r- ${c2}'U%:${c1} '>>>=:`\3!
'xopE| ${c2}`'${c1} `ledoz-
`;=>>+`${c2}`^llci/|==|/iclc;`${c1}'>>>>:
`^`+~ ${c2}````${c1} !!-^
EOF
;;
"PNM Linux"* | "WHPNM Linux"*)
set_colors 33 9 15 202
read -rd '' ascii_data <<'EOF'