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
30
neofetch
30
neofetch
|
@ -798,7 +798,7 @@ image_source="auto"
|
||||||
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
|
# Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
|
||||||
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
||||||
# osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix,
|
# 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,
|
# Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian,
|
||||||
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith,
|
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith,
|
||||||
# Rocky, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
# Rocky, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||||
|
@ -1554,6 +1554,7 @@ get_packages() {
|
||||||
has alps && tot alps showinstalled
|
has alps && tot alps showinstalled
|
||||||
has butch && tot butch list
|
has butch && tot butch list
|
||||||
has swupd && tot swupd bundle-list --quiet
|
has swupd && tot swupd bundle-list --quiet
|
||||||
|
has pisi && tot pisi li
|
||||||
|
|
||||||
# Using the dnf package cache is much faster than rpm.
|
# 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
|
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,
|
NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana,
|
||||||
openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle,
|
openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle,
|
||||||
OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS,
|
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,
|
Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
|
||||||
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
|
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
|
||||||
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||||
|
@ -9490,6 +9491,31 @@ ${c1} PPPPPPPPPPPPPP
|
||||||
EOF
|
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"*)
|
"PNM Linux"* | "WHPNM Linux"*)
|
||||||
set_colors 33 9 15 202
|
set_colors 33 9 15 202
|
||||||
read -rd '' ascii_data <<'EOF'
|
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.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.3.
|
||||||
.TH NEOFETCH "1" "August 2020" "Neofetch 7.1.0" "User Commands"
|
.TH NEOFETCH "1" "April 2021" "Neofetch 7.1.0" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Neofetch \- A fast, highly customizable system info script
|
Neofetch \- A fast, highly customizable system info script
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -152,6 +152,9 @@ URL to query for public IP
|
||||||
\fB\-\-ip_timeout\fR int
|
\fB\-\-ip_timeout\fR int
|
||||||
Public IP timeout (in seconds).
|
Public IP timeout (in seconds).
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-ip_interface\fR value
|
||||||
|
Interface(s) to use for local IP
|
||||||
|
.TP
|
||||||
\fB\-\-song_format\fR format
|
\fB\-\-song_format\fR format
|
||||||
Print the song data in a specific format (see config file).
|
Print the song data in a specific format (see config file).
|
||||||
.TP
|
.TP
|
||||||
|
@ -215,10 +218,6 @@ Length in spaces to make the bars.
|
||||||
Colors to make the bar.
|
Colors to make the bar.
|
||||||
Set in this order: elapsed, total
|
Set in this order: elapsed, total
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-cpu_display\fR mode
|
|
||||||
Bar mode.
|
|
||||||
Possible values: bar, infobar, barinfo, off
|
|
||||||
.TP
|
|
||||||
\fB\-\-memory_display\fR mode
|
\fB\-\-memory_display\fR mode
|
||||||
Bar mode.
|
Bar mode.
|
||||||
Possible values: bar, infobar, barinfo, off
|
Possible values: bar, infobar, barinfo, off
|
||||||
|
@ -234,8 +233,8 @@ Possible values: bar, infobar, barinfo, off
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-backend\fR backend
|
\fB\-\-backend\fR backend
|
||||||
Which image backend to use.
|
Which image backend to use.
|
||||||
Possible values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2',
|
Possible values: 'ascii', 'caca', 'catimg', 'chafa', 'jp2a',
|
||||||
\&'off', 'sixel', 'tycat', 'w3m', 'kitty', 'ueberzug'
|
\&'iterm2', 'off', 'sixel', 'tycat', 'w3m', 'kitty', 'viu'
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-source\fR source
|
\fB\-\-source\fR source
|
||||||
Which image or ascii file to use.
|
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
|
\fB\-\-caca\fR source
|
||||||
Shortcut to use 'caca' backend.
|
Shortcut to use 'caca' backend.
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-catimg\fR source
|
||||||
|
Shortcut to use 'catimg' backend.
|
||||||
|
.TP
|
||||||
\fB\-\-chafa\fR source
|
\fB\-\-chafa\fR source
|
||||||
Shortcut to use 'chafa' backend.
|
Shortcut to use 'chafa' backend.
|
||||||
.TP
|
.TP
|
||||||
|
@ -281,7 +283,10 @@ Shortcut to use 'tycat' backend.
|
||||||
Shortcut to use 'w3m' backend.
|
Shortcut to use 'w3m' backend.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-ueberzug\fR source
|
\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
|
.TP
|
||||||
\fB\-\-off\fR
|
\fB\-\-off\fR
|
||||||
Shortcut to use 'off' backend (Disable ascii art).
|
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,
|
Netrunner, Nitrux, NixOS, Nurunner, NuTyX, OBRevenge, OpenBSD,
|
||||||
openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
||||||
osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix,
|
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,
|
Proxmox, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
|
||||||
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
|
Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith, Rosa,
|
||||||
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||||
SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS,
|
SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS,
|
||||||
Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
|
Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
|
||||||
openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
t2, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||||
Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
|
Ubuntu\-Cinnamon, Ubuntu\-Budgie, Ubuntu\-GNOME, Ubuntu\-MATE,
|
||||||
Ubuntu-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
|
Ubuntu\-Studio, Ubuntu, Univention, Venom, Void, semc, Obarun,
|
||||||
windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
|
windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
|
||||||
.IP
|
.IP
|
||||||
NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
|
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
|
.IP
|
||||||
NOTE: Ubuntu has flavor variants.
|
NOTE: Ubuntu has flavor variants.
|
||||||
.TP
|
.TP
|
||||||
Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu\-GNOME,
|
||||||
Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
Ubuntu\-Studio, Ubuntu\-Mate or Ubuntu\-Budgie to use the flavors.
|
||||||
.TP
|
.TP
|
||||||
NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||||
CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
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.
|
How to size the image.
|
||||||
Possible values: auto, 00px, 00%, none
|
Possible values: auto, 00px, 00%, none
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-catimg_size\fR 1/2
|
||||||
|
Change the resolution of catimg.
|
||||||
|
.TP
|
||||||
\fB\-\-crop_mode\fR mode
|
\fB\-\-crop_mode\fR mode
|
||||||
Which crop mode to use
|
Which crop mode to use
|
||||||
Takes the values: normal, fit, fill
|
Takes the values: normal, fit, fill
|
||||||
|
@ -369,11 +377,11 @@ west, center, east, southwest, south, southeast
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-xoffset\fR px
|
\fB\-\-xoffset\fR px
|
||||||
How close the image will be to the left edge of the
|
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
|
.TP
|
||||||
\fB\-\-yoffset\fR px
|
\fB\-\-yoffset\fR px
|
||||||
How close the image will be to the top edge of the
|
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
|
.TP
|
||||||
\fB\-\-bg_color\fR color
|
\fB\-\-bg_color\fR color
|
||||||
Background color to display behind transparent image.
|
Background color to display behind transparent image.
|
||||||
|
|
Loading…
Reference in a new issue