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:
parent
bc71e732a9
commit
bbbb68f8b2
2 changed files with 55 additions and 21 deletions
32
neofetch
32
neofetch
|
@ -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'
|
||||
|
|
44
neofetch.1
44
neofetch.1
|
@ -1,5 +1,5 @@
|
|||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||
.TH NEOFETCH "1" "August 2020" "Neofetch 7.1.0" "User Commands"
|
||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
|
||||
.TH NEOFETCH "1" "April 2021" "Neofetch 7.1.0" "User Commands"
|
||||
.SH NAME
|
||||
Neofetch \- A fast, highly customizable system info script
|
||||
.SH SYNOPSIS
|
||||
|
@ -152,6 +152,9 @@ URL to query for public IP
|
|||
\fB\-\-ip_timeout\fR int
|
||||
Public IP timeout (in seconds).
|
||||
.TP
|
||||
\fB\-\-ip_interface\fR value
|
||||
Interface(s) to use for local IP
|
||||
.TP
|
||||
\fB\-\-song_format\fR format
|
||||
Print the song data in a specific format (see config file).
|
||||
.TP
|
||||
|
@ -215,10 +218,6 @@ Length in spaces to make the bars.
|
|||
Colors to make the bar.
|
||||
Set in this order: elapsed, total
|
||||
.TP
|
||||
\fB\-\-cpu_display\fR mode
|
||||
Bar mode.
|
||||
Possible values: bar, infobar, barinfo, off
|
||||
.TP
|
||||
\fB\-\-memory_display\fR mode
|
||||
Bar mode.
|
||||
Possible values: bar, infobar, barinfo, off
|
||||
|
@ -234,8 +233,8 @@ Possible values: bar, infobar, barinfo, off
|
|||
.TP
|
||||
\fB\-\-backend\fR backend
|
||||
Which image backend to use.
|
||||
Possible values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2',
|
||||
\&'off', 'sixel', 'tycat', 'w3m', 'kitty', 'ueberzug'
|
||||
Possible values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a',
|
||||
\&'iterm2', 'off', 'sixel', 'tycat', 'w3m', 'kitty', 'viu'
|
||||
.TP
|
||||
\fB\-\-source\fR source
|
||||
Which image or ascii file to use.
|
||||
|
@ -250,6 +249,9 @@ NEW: neofetch \fB\-\-ascii\fR "$(fortune | cowsay \fB\-W\fR 30)"
|
|||
\fB\-\-caca\fR source
|
||||
Shortcut to use 'caca' backend.
|
||||
.TP
|
||||
\fB\-\-catimg\fR source
|
||||
Shortcut to use 'catimg' backend.
|
||||
.TP
|
||||
\fB\-\-chafa\fR source
|
||||
Shortcut to use 'chafa' backend.
|
||||
.TP
|
||||
|
@ -281,7 +283,10 @@ Shortcut to use 'tycat' backend.
|
|||
Shortcut to use 'w3m' backend.
|
||||
.TP
|
||||
\fB\-\-ueberzug\fR source
|
||||
Shortcut to use 'ueberzug' backend.
|
||||
Shortcut to use 'ueberzug' backend
|
||||
.TP
|
||||
\fB\-\-viu\fR source
|
||||
Shortcut to use 'viu' backend
|
||||
.TP
|
||||
\fB\-\-off\fR
|
||||
Shortcut to use 'off' backend (Disable ascii art).
|
||||
|
@ -314,15 +319,15 @@ Mer, Minix, LinuxMint, Live_Raizo, MX_Linux, Namib, Neptune, NetBSD,
|
|||
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, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
|
||||
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
|
||||
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||
SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS,
|
||||
Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
|
||||
openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||
Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
|
||||
Ubuntu-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
|
||||
Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
|
||||
t2, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||
Ubuntu\-Cinnamon, Ubuntu\-Budgie, Ubuntu\-GNOME, Ubuntu\-MATE,
|
||||
Ubuntu\-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
|
||||
windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
|
||||
.IP
|
||||
NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
|
||||
|
@ -331,8 +336,8 @@ NOTE: Use '{distro name}_old' to use the old logos.
|
|||
.IP
|
||||
NOTE: Ubuntu has flavor variants.
|
||||
.TP
|
||||
Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
||||
Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
||||
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu\-GNOME,
|
||||
Ubuntu\-Studio, Ubuntu\-Mate or Ubuntu\-Budgie to use the flavors.
|
||||
.TP
|
||||
NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||
CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
||||
|
@ -358,6 +363,9 @@ in some terminals emulators when using image mode.
|
|||
How to size the image.
|
||||
Possible values: auto, 00px, 00%, none
|
||||
.TP
|
||||
\fB\-\-catimg_size\fR 1/2
|
||||
Change the resolution of catimg.
|
||||
.TP
|
||||
\fB\-\-crop_mode\fR mode
|
||||
Which crop mode to use
|
||||
Takes the values: normal, fit, fill
|
||||
|
@ -369,11 +377,11 @@ west, center, east, southwest, south, southeast
|
|||
.TP
|
||||
\fB\-\-xoffset\fR px
|
||||
How close the image will be to the left edge of the
|
||||
window. This only works with w3m and ueberzug.
|
||||
window. This only works with w3m.
|
||||
.TP
|
||||
\fB\-\-yoffset\fR px
|
||||
How close the image will be to the top edge of the
|
||||
window. This only works with w3m and ueberzug.
|
||||
window. This only works with w3m.
|
||||
.TP
|
||||
\fB\-\-bg_color\fR color
|
||||
Background color to display behind transparent image.
|
||||
|
|
Loading…
Reference in a new issue