Compare commits
11
Commits
0d08c130ff
..
7.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
638f27dd87 | ||
|
|
ccd5d9f526 | ||
|
|
644f9d29eb | ||
|
|
3eaac2d9ee | ||
|
|
7b1f0c275e | ||
|
|
aab631c7dd | ||
|
|
c4fba8bb0b | ||
|
|
c1c699378f | ||
|
|
d4070d515d | ||
|
|
24b1281f9a | ||
|
|
e784522206 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2020 Dylan Araps
|
||||
Copyright (c) 2015-2021 Dylan Araps
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) 2015-2020 Dylan Araps
|
||||
# Copyright (c) 2015-2021 Dylan Araps
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -799,7 +799,7 @@ image_source="auto"
|
||||
# openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, OpenWrt,
|
||||
# osmc, Oracle, OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix,
|
||||
# TrueOS, PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
|
||||
# Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian,
|
||||
# Proxmox, PuffOS, Puppy, PureOS, Qubes, Qubyt, Quibian, Radix, Raspbian,
|
||||
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata, Regolith,
|
||||
# Rocky, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||
# SereneLinux, SharkLinux, Siduction, SkiffOS, Slackware, SliTaz, SmartOS,
|
||||
@@ -1102,10 +1102,13 @@ get_distro() {
|
||||
fi
|
||||
|
||||
if [[ $(< /proc/version) == *Microsoft* || $kernel_version == *Microsoft* ]]; then
|
||||
windows_version=$(wmic.exe os get Version)
|
||||
windows_version=$(trim "${windows_version/Version}")
|
||||
|
||||
case $distro_shorthand in
|
||||
on) distro+=" [Windows 10]" ;;
|
||||
tiny) distro="Windows 10" ;;
|
||||
*) distro+=" on Windows 10" ;;
|
||||
on) distro+=" [Windows $windows_version]" ;;
|
||||
tiny) distro="Windows ${windows_version::2}" ;;
|
||||
*) distro+=" on Windows $windows_version" ;;
|
||||
esac
|
||||
|
||||
elif [[ $(< /proc/version) == *chrome-bot* || -f /dev/cros_ec ]]; then
|
||||
@@ -1561,6 +1564,8 @@ get_packages() {
|
||||
has butch && tot butch list
|
||||
has swupd && tot swupd bundle-list --quiet
|
||||
has pisi && tot pisi li
|
||||
has pacstall && tot pacstall -L
|
||||
has leaf && tot leaf list
|
||||
|
||||
# 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
|
||||
@@ -5155,7 +5160,7 @@ ASCII:
|
||||
openmamba, OpenMandriva, OpenStage, OpenWrt, osmc, Oracle,
|
||||
OS Elbrus, PacBSD, Parabola, Pardus, Parrot, Parsix, TrueOS,
|
||||
PCLinuxOS, Pengwin, Peppermint, Pisi, popos, Porteus, PostMarketOS,
|
||||
Proxmox, PuffOS, Puppy, PureOS, Qubes, Quibian, Radix, Raspbian, Reborn_OS,
|
||||
Proxmox, PuffOS, Puppy, PureOS, Qubes, Qubyt, 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,
|
||||
@@ -6536,6 +6541,29 @@ ${c2} ..........
|
||||
EOF
|
||||
;;
|
||||
|
||||
"CBL-Mariner"*)
|
||||
set_colors 6
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} .
|
||||
:- .
|
||||
:==. .=:
|
||||
:===: -==:
|
||||
:-===: .====:
|
||||
:-====- -=====:
|
||||
-====== :=======:
|
||||
-======. .=========:
|
||||
-======: -==========.
|
||||
-======- -===========.
|
||||
:======- :===========.
|
||||
:=======. .-==========.
|
||||
:=======: -==========.
|
||||
:=======- :==========.
|
||||
:=======- .-========-
|
||||
:--------. :========-
|
||||
..:::--=========-
|
||||
..::---================-=-
|
||||
EOF
|
||||
;;
|
||||
|
||||
"CelOS"*)
|
||||
set_colors 4 6 0 5
|
||||
@@ -9095,23 +9123,29 @@ EOF
|
||||
"openEuler"*)
|
||||
set_colors 4 7 1
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1}
|
||||
(#####
|
||||
(((######## #####
|
||||
((( ########## __...__
|
||||
(((((((( ####### /((((((###\
|
||||
((((((((((( ....... \(((((####/
|
||||
(((((( ((((######### *******
|
||||
%((((((# ((########
|
||||
/////((((( ###
|
||||
/////(((((((# (((&
|
||||
(((((((((((((
|
||||
((((((((((((
|
||||
((((((((( ((((((###
|
||||
/((((((######
|
||||
//((((((######
|
||||
/((((((#####
|
||||
*********/
|
||||
${c1} `.cc.`
|
||||
``.cccccccc..`
|
||||
`.cccccccccccccccc.`
|
||||
``.cccccccccccccccccccccc.``
|
||||
`..cccccccccccccccccccccccccccc..`
|
||||
`.ccccccccccccccc${c2}/++/${c1}ccccccccccccccccc.`
|
||||
.ccccccccccccccc${c2}mNMMNdo+oso+${c1}ccccccccccc.
|
||||
.cccccccccc${c2}/++odms+//+mMMMMm/:+syso/${c1}cccc
|
||||
.ccccccccc${c2}yNNMMMs:::/::+o+/:${c1}c${c2}dMMMMMm${c1}cccc
|
||||
.ccccccc${c2}:+NmdyyhNNmNNNd:${c1}ccccc${c1}${c2}:oyyyo:${c1}cccc
|
||||
.ccc${c2}:ohdmMs:${c1}cccc${c2}+mNMNmy${c1}ccccccccccccccccc
|
||||
.cc${c2}/NMMMMMo////:${c1}c${c2}:///:${c1}cccccccccccccccccc
|
||||
.cc${c2}:syysyNMNNNMNy${c1}ccccccccccccccccccccccc
|
||||
.cccccccc${c2}+MMMMMNy${c1}c${c2}:/+++/${c1}cccccccccccccccc
|
||||
.ccccccccc${c2}ohhhs/${c1}c${c2}omMMMMNh${c1}ccccccccccccccc
|
||||
.ccccccccccccccc${c2}:MMMMMMMM/${c1}cccccccccccccc
|
||||
.cccccccccccccccc${c2}sNNNNNd+${c1}cccccccccccccc.
|
||||
`..cccccccccccccccc${c2}/+/:${c1}cccccccccccccc..`
|
||||
``.cccccccccccccccccccccccccccc.``
|
||||
`.cccccccccccccccccccccc.`
|
||||
``.cccccccccccccc.``
|
||||
`.cccccccc.`
|
||||
`....`
|
||||
EOF
|
||||
;;
|
||||
|
||||
@@ -9831,6 +9865,27 @@ ${c1} `..--..`
|
||||
EOF
|
||||
;;
|
||||
|
||||
"Qubyt"*)
|
||||
set_colors 4 5 0 4
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
${c1} ########################${c2}(${c3}ooo
|
||||
${c1} ########################${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}###${c2}(${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo ${c1}##${c3}o ${c2}((((${c3}ooo
|
||||
${c1}###${c2}(${c3}ooo o${c2}((${c1}### ${c3}oooooo
|
||||
${c1}###${c2}(${c3}ooo oo${c2}((${c1}###${c3}o
|
||||
${c1}###${c2}(${c3}ooo ooo${c2}((${c1}###
|
||||
${c1}################${c2}(${c3}oo oo${c2}((((${c3}o
|
||||
${c2}(((((((((((((((((${c3}ooo ooooo
|
||||
oooooooooooooooooo o
|
||||
EOF
|
||||
;;
|
||||
|
||||
"Quibian"*)
|
||||
set_colors 3 7
|
||||
read -rd '' ascii_data <<'EOF'
|
||||
@@ -11524,7 +11579,7 @@ main() {
|
||||
err "Neofetch command: $0 $*"
|
||||
err "Neofetch version: $version"
|
||||
|
||||
[[ $verbose == on ]] && printf %b "$err" >&2
|
||||
[[ $verbose == on ]] && printf '%b\033[m' "$err" >&2
|
||||
|
||||
# If `--loop` was used, constantly redraw the image.
|
||||
while [[ $image_loop == on && $image_backend == w3m ]]; do
|
||||
|
||||
Reference in New Issue
Block a user