Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
neofetch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
neofetch
Commits
d4f5ee44
Commit
d4f5ee44
authored
Jan 02, 2017
by
Dylan Araps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ascii: Alphabetize distro names
parent
484a3068
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
282 additions
and
282 deletions
+282
-282
neofetch
neofetch
+282
-282
No files found.
neofetch
View file @
d4f5ee44
...
@@ -2489,174 +2489,175 @@ get_distro_colors() {
...
@@ -2489,174 +2489,175 @@ get_distro_colors() {
#
#
#
$ascii_distro
is the same as
$distro
.
#
$ascii_distro
is the same as
$distro
.
case
"
$ascii_distro
"
in
case
"
$ascii_distro
"
in
"
arch_small"
)
"
Alpine"
*
)
set_colors 4
7 1
set_colors 4
5 7 6
ascii_file=
"a
rch_small
"
ascii_file=
"a
lpine
"
;;
;;
"arch_old"
)
"Android"
*)
set_colors 4 7 1
set_colors 2 7
ascii_file=
"arch_old"
ascii_file=
"android"
ascii_length_force=
"19"
;;
;;
"A
rch
"
*)
"A
ntergos
"
*)
set_colors 4
7 1
set_colors 4
6
ascii_file=
"a
rch
"
ascii_file=
"a
ntergos
"
;;
;;
"
Kogaion
"
*)
"
antiX
"
*)
set_colors
4 7 1
set_colors
1 7 3
ascii_file=
"
kogaion
"
ascii_file=
"
antix
"
;;
;;
"
Elementary
"
*)
"
AOSC
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
elementary
"
ascii_file=
"
aosc
"
;;
;;
"
GalliumOS
"
*)
"
Apricity
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
galliumos
"
ascii_file=
"
apricity
"
;;
;;
"
Rosa"
*
)
"
arch_small"
)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
rosa
"
ascii_file=
"
arch_small
"
;;
;;
"
OpenWrt"
*
)
"
arch_old"
)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
openwrt
"
ascii_file=
"
arch_old
"
;;
;;
"
Netrunner
"
*)
"
Arch
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
netrunner
"
ascii_file=
"
arch
"
;;
;;
"
PCLinuxOS
"
*)
"
Bitrig
"
*)
set_colors
4 7 1
set_colors
2 7
ascii_file=
"
pclinuxos
"
ascii_file=
"
bitrig
"
;;
;;
"
Slackware
"
*)
"
BLAG
"
*)
set_colors
4 7 1
set_colors
5 7
ascii_file=
"
slackware
"
ascii_file=
"
blag
"
;;
;;
"
KaOS
"
*)
"
BlankOn
"
*)
set_colors
4 7 1
set_colors
1 7 3
ascii_file=
"
kaos
"
ascii_file=
"
blankon
"
;;
;;
"
Kubuntu
"
*)
"
BunsenLabs
"
*)
set_colors
4 7 1
set_colors
fg 7
ascii_file=
"
kubuntu
"
ascii_file=
"
bunsenlabs
"
;;
;;
"
Lubuntu
"
*)
"
CentOS
"
*)
set_colors
4 7 1
set_colors
3 2 4 5 7
ascii_file=
"
lubuntu
"
ascii_file=
"
centos
"
;;
;;
"
Xubuntu
"
*)
"
Chakra
"
*)
set_colors 4
7 1
set_colors 4
5 7 6
ascii_file=
"
xubuntu
"
ascii_file=
"
chakra
"
;;
;;
"
OpenIndiana
"
*)
"
ChaletOS
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
openindiana
"
ascii_file=
"
chaletos
"
;;
;;
"
Fedora"
* |
"RFRemix
"
*)
"
Chapeau
"
*)
set_colors
4 7 1
set_colors
2 7
ascii_file=
"
fedora
"
ascii_file=
"
chapeau
"
;;
;;
"
Korora
"
*)
"
Chrom
"
*)
set_colors
4 7 1
set_colors
2 1 3 4 7
ascii_file=
"
korora
"
ascii_file=
"
chrome
"
;;
;;
"
Sabayon"
*
)
"
crux_small"
)
set_colors 4
7 1
set_colors 4
5 7 6
ascii_file=
"
sabayon
"
ascii_file=
"
crux_small
"
;;
;;
"
Frugalware
"
*)
"
CRUX
"
*)
set_colors 4
7 1
set_colors 4
5 7 6
ascii_file=
"
frugalware
"
ascii_file=
"
crux
"
;;
;;
"
Exherbo
"
*)
"
Debian
"
*)
set_colors
4 7 1
set_colors
1 7 3
ascii_file=
"
exherbo
"
ascii_file=
"
debian
"
;;
;;
"
Scientific
"
*)
"
Deepin
"
*)
set_colors
4 7 1
set_colors
2 7
ascii_file=
"
scientific
"
ascii_file=
"
deepin
"
;;
;;
"
Solus
"
*)
"
Devuan
"
*)
set_colors
4 7 1
set_colors
5 7
ascii_file=
"
solus
"
ascii_file=
"
devuan
"
;;
;;
"
Chalet
OS"
*)
"
Drac
OS"
*)
set_colors
4 7 1
set_colors
1 7 3
ascii_file=
"
chalet
os"
ascii_file=
"
drac
os"
;;
;;
"
Apricit
y"
*)
"
DragonFl
y"
*)
set_colors
4 7 1
set_colors
1 7 3
ascii_file=
"
apricity
"
ascii_file=
"
dragonflybsd
"
;;
;;
"
SwagArch
"
*)
"
Elementary
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
swagarch
"
ascii_file=
"
elementary
"
;;
;;
"
AOSC
"
*)
"
Exherbo
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
aosc
"
ascii_file=
"
exherbo
"
;;
;;
"
Ubuntu-Budgie
"
*)
"
Fedora"
* |
"RFRemix
"
*)
set_colors 4 7 1
set_colors 4 7 1
ascii_file=
"
ubuntu-budgie
"
ascii_file=
"
fedora
"
;;
;;
"
CentOS
"
*)
"
FreeBSD
"
*)
set_colors
3 2 4 5 7
set_colors
1 7 3
ascii_file=
"
centos
"
ascii_file=
"
freebsd
"
;;
;;
"
GoboLinux
"
*)
"
Frugalware
"
*)
set_colors
5 4 6 2
set_colors
4 7 1
ascii_file=
"
gobolinux
"
ascii_file=
"
frugalware
"
;;
;;
"
SalentOS
"
*)
"
Funtoo
"
*)
set_colors
2 1 3
7
set_colors
5
7
ascii_file=
"
salentos
"
ascii_file=
"
funtoo
"
;;
;;
"
crux_small"
)
"
GalliumOS"
*
)
set_colors 4
5 7 6
set_colors 4
7 1
ascii_file=
"
crux_small
"
ascii_file=
"
galliumos
"
;;
;;
"
CRUX"
*
)
"
gentoo_small"
)
set_colors
4 5 7 6
set_colors
5 7
ascii_file=
"
crux
"
ascii_file=
"
gentoo_small
"
;;
;;
"
Chakra
"
*)
"
Gentoo
"
*)
set_colors
4 5 7 6
set_colors
5 7
ascii_file=
"
chakra
"
ascii_file=
"
gentoo
"
;;
;;
"gNewSense"
*)
"gNewSense"
*)
...
@@ -2664,79 +2665,79 @@ get_distro_colors() {
...
@@ -2664,79 +2665,79 @@ get_distro_colors() {
ascii_file=
"gnewsense"
ascii_file=
"gnewsense"
;;
;;
"
SailfishOS
"
*)
"
GoboLinux
"
*)
set_colors
4 5 7 6
set_colors
5 4 6 2
ascii_file=
"
sailfishos
"
ascii_file=
"
gobolinux
"
;;
;;
"
Alpine
"
*)
"
Grombyang
"
*)
set_colors 4
5 7 6
set_colors 4
2 1
ascii_file=
"
alpine
"
ascii_file=
"
grombyang
"
;;
;;
"
Ubuntu-GNOME
"
*)
"
GuixSD
"
*)
set_colors
4 5 7 6
set_colors
3 7 6 1 8
ascii_file=
"
ubuntu-gnome
"
ascii_file=
"
guixsd
"
;;
;;
"
Qubes
"
*)
"
Haiku
"
*)
set_colors
4 5 7 6
set_colors
2 8
ascii_file=
"
qubes
"
ascii_file=
"
haiku
"
;;
;;
"
Chrom
"
*)
"
Kali
"
*)
set_colors
2 1 3 4 7
set_colors
4 8
ascii_file=
"
chrome
"
ascii_file=
"
kali
"
;;
;;
"
Raspbian
"
*)
"
KaOS
"
*)
set_colors
2
1
set_colors
4 7
1
ascii_file=
"
raspbian
"
ascii_file=
"
kaos
"
;;
;;
"
Debian
"
*)
"
KDE
"
*)
set_colors
1 7 3
set_colors
2 7
ascii_file=
"
debian
"
ascii_file=
"
kde
"
;;
;;
"
ubuntu_old"
)
"
Kogaion"
*
)
set_colors
1 7 3
set_colors
4 7 1
ascii_file=
"
ubuntu_old
"
ascii_file=
"
kogaion
"
;;
;;
"
Ubuntu
"
*)
"
Korora
"
*)
set_colors
1 7 3
set_colors
4 7 1
ascii_file=
"
ubuntu
"
ascii_file=
"
korora
"
;;
;;
"
DragonFly
"
*)
"
Kubuntu
"
*)
set_colors
1 7 3
set_colors
4 7 1
ascii_file=
"
dragonflybsd
"
ascii_file=
"
kubuntu
"
;;
;;
"
PacBSD"
*
)
"
Linux"
)
set_colors
1 7
3
set_colors
fg 8
3
ascii_file=
"
pacbsd
"
ascii_file=
"
linux
"
;;
;;
"
Oracle
"
*)
"
LMDE
"
*)
set_colors
1 7 3
set_colors
2 7
ascii_file=
"
oracl
e"
ascii_file=
"
lmd
e"
;;
;;
"
BlankOn
"
*)
"
Lubuntu
"
*)
set_colors
1 7 3
set_colors
4 7 1
ascii_file=
"
blankon
"
ascii_file=
"
lubuntu
"
;;
;;
"
DracOS
"
*)
"
Mageia
"
*)
set_colors
1 7 3
set_colors
6 7
ascii_file=
"
dracos
"
ascii_file=
"
mageia
"
;;
;;
"
Peppermint
"
*)
"
Manjaro
"
*)
set_colors
1 7 3
set_colors
2 7
ascii_file=
"
peppermint
"
ascii_file=
"
manjaro
"
;;
;;
"Minix"
*)
"Minix"
*)
...
@@ -2744,40 +2745,45 @@ get_distro_colors() {
...
@@ -2744,40 +2745,45 @@ get_distro_colors() {
ascii_file=
"minix"
ascii_file=
"minix"
;;
;;
"antiX"
*)
# TODO (Before PR is merged)
:
Make this glob less greedy.
set_colors 1 7 3
*
"Mint"
*)
ascii_file=
"antix"
set_colors 2 7
ascii_file=
"mint"
;;
;;
"
FreeBSD
"
*)
"
MX
"
*)
set_colors
1 7 3
set_colors
4 6 7
ascii_file=
"
freebsd
"
ascii_file=
"
mx
"
;;
;;
"
PCBSD"
* |
"TrueOS
"
*)
"
NetBSD
"
*)
set_colors
1 7 3
set_colors
5 7
ascii_file=
"
trueos
"
ascii_file=
"
netbsd
"
;;
;;
"
Red Star"
* |
"Redsta
r"
*)
"
Netrunne
r"
*)
set_colors
1 7 3
set_colors
4 7 1
ascii_file=
"
redsta
r"
ascii_file=
"
netrunne
r"
;;
;;
# TODO (Before PR is merged)
:
Make this glob less greedy.
"NixOS"
*)
"Red"
*)
set_colors 4 6
set_colors 1 7 3
ascii_file=
"nixOS"
ascii_file=
"redhat"
;;
;;
"
Kali"
*
)
"
openbsd_small"
)
set_colors
4
8
set_colors
3 7 6 1
8
ascii_file=
"
kali
"
ascii_file=
"
openbsd_small
"
;;
;;
"BunsenLabs"
*)
"OpenBSD"
*)
set_colors fg 7
set_colors 3 7 6 1 8
ascii_file=
"bunsenlabs"
ascii_file=
"openbsd"
;;
"OpenIndiana"
*)
set_colors 4 7 1
ascii_file=
"openindiana"
;;
;;
"OpenMandriva"
*)
"OpenMandriva"
*)
...
@@ -2785,122 +2791,120 @@ get_distro_colors() {
...
@@ -2785,122 +2791,120 @@ get_distro_colors() {
ascii_file=
"openmadriva"
ascii_file=
"openmadriva"
;;
;;
"
NetBSD
"
*)
"
OpenWrt
"
*)
set_colors
5 7
set_colors
4 7 1
ascii_file=
"
netbsd
"
ascii_file=
"
openwrt
"
;;
;;
"
Parabola
"
*)
"
Oracle
"
*)
set_colors
5 7
set_colors
1 7 3
ascii_file=
"
parabola
"
ascii_file=
"
oracle
"
;;
;;
"
Tails
"
*)
"
PacBSD
"
*)
set_colors
5 7
set_colors
1 7 3
ascii_file=
"
tails
"
ascii_file=
"
pacbsd
"
;;
;;
"
BLAG
"
*)
"
Parabola
"
*)
set_colors 5 7
set_colors 5 7
ascii_file=
"
blag
"
ascii_file=
"
parabola
"
;;
;;
"
Funtoo
"
*)
"
Pardus
"
*)
set_colors
5 7
set_colors
3 7 6 1 8
ascii_file=
"
funtoo
"
ascii_file=
"
pardus
"
;;
;;
"
SteamOS
"
*)
"
Parrot
"
*)
set_colors
5
7
set_colors
6
7
ascii_file=
"
steamos
"
ascii_file=
"
parrot
"
;;
;;
"
Devuan
"
*)
"
PCBSD"
* |
"TrueOS
"
*)
set_colors
5 7
set_colors
1 7 3
ascii_file=
"
devuan
"
ascii_file=
"
trueos
"
;;
;;
"
gentoo_small"
)
"
PCLinuxOS"
*
)
set_colors
5 7
set_colors
4 7 1
ascii_file=
"
gentoo_small
"
ascii_file=
"
pclinuxos
"
;;
;;
"
Gentoo
"
*)
"
Peppermint
"
*)
set_colors
5 7
set_colors
1 7 3
ascii_file=
"
gentoo
"
ascii_file=
"
peppermint
"
;;
;;
"
openbsd_small"
)
"
Porteus"
*
)
set_colors
3 7 6 1 8
set_colors
6 7
ascii_file=
"
openbsd_small
"
ascii_file=
"
porteus
"
;;
;;
"
OpenBSD
"
*)
"
Puppy"
* |
"Quirky Werewolf"
* |
"Precise Puppy
"
*)
set_colors
3 7 6 1 8
set_colors
4 7
ascii_file=
"
openbsd
"
ascii_file=
"
puppy
"
;;
;;
"
GuixSD
"
*)
"
Qubes
"
*)
set_colors
3 7 6 1 8
set_colors
4 5 7 6
ascii_file=
"
guixsd
"
ascii_file=
"
qubes
"
;;
;;
"
Pardus
"
*)
"
Raspbian
"
*)
set_colors
3 7 6 1 8
set_colors
2 1
ascii_file=
"
pardus
"
ascii_file=
"
raspbian
"
;;
;;
"
Manjaro
"
*)
"
Red Star"
* |
"Redstar
"
*)
set_colors
2 7
set_colors
1 7 3
ascii_file=
"
manjaro
"
ascii_file=
"
redstar
"
;;
;;
"Deepin"
*)
# TODO (Before PR is merged)
:
Make this glob less greedy.
set_colors 2 7
"Red"
*)
ascii_file=
"deepin"
set_colors 1 7 3
ascii_file=
"redhat"
;;
;;
"
LMDE
"
*)
"
Rosa
"
*)
set_colors
2 7
set_colors
4 7 1
ascii_file=
"
lmde
"
ascii_file=
"
rosa
"
;;
;;
"
Chapeau
"
*)
"
Sabayon
"
*)
set_colors
2 7
set_colors
4 7 1
ascii_file=
"
chapeau
"
ascii_file=
"
sabayon
"
;;
;;
"
Bitrig
"
*)
"
SailfishOS
"
*)
set_colors
2 7
set_colors
4 5 7 6
ascii_file=
"
bitrig
"
ascii_file=
"
sailfishos
"
;;
;;
# TODO (Before PR is merged)
:
Make this glob less greedy.
"SalentOS"
*)
*
"SUSE"
*)
set_colors 2 1 3 7
set_colors 2 7
ascii_file=
"salentos"
ascii_distro=
"suse"
;;
;;
"
KDE
"
*)
"
Scientific
"
*)
set_colors
2 7
set_colors
4 7 1
ascii_file=
"
kde
"
ascii_file=
"
scientific
"
;;
;;
"Android"
*)
"Slackware"
*)
set_colors 2 7
set_colors 4 7 1
ascii_file=
"android"
ascii_file=
"slackware"
ascii_length_force=
"19"
;;
;;
# TODO (Before PR is merged)
:
Make this glob less greedy.
"SmartOS"
*)
*
"Mint"
*)
set_colors 6 7
set_colors 2 7
ascii_file=
"smartos"
ascii_file=
"mint"
;;
;;
"
Puppy"
* |
"Quirky Werewolf"
* |
"Precise Puppy
"
*)
"
Solus
"
*)
set_colors 4 7
set_colors 4 7
1
ascii_file=
"
puppy
"
ascii_file=
"
solus
"
;;
;;
"Sparky"
*)
"Sparky"
*)
...
@@ -2908,29 +2912,25 @@ get_distro_colors() {
...
@@ -2908,29 +2912,25 @@ get_distro_colors() {
ascii_file=
"sparky"
ascii_file=
"sparky"
;;
;;
"Trisquel"
*)
"SteamOS"
*)
set_colors 4 6
set_colors 5 7
ascii_file=
"trisquel"
ascii_file=
"steamos"
;;
"NixOS"
*)
set_colors 4 6
ascii_file=
"nixOS"
;;
;;
"Zorin"
*)
# TODO (Before PR is merged)
:
Make this glob less greedy.
set_colors 4 6
*
"SUSE"
*)
ascii_file=
"zorin"
set_colors 2 7
ascii_distro=
"suse"
;;
;;
"
Antergos
"
*)
"
SwagArch
"
*)
set_colors 4
6
set_colors 4
7 1
ascii_file=
"
antergos
"
ascii_file=
"
swagarch
"
;;
;;
"
MX
"
*)
"
Tails
"
*)
set_colors
4 6
7
set_colors
5
7
ascii_file=
"
mx
"
ascii_file=
"
tails
"
;;
;;
"Travis"
)
"Travis"
)
...
@@ -2938,39 +2938,34 @@ get_distro_colors() {
...
@@ -2938,39 +2938,34 @@ get_distro_colors() {
ascii_file=
"travis"
ascii_file=
"travis"
;;
;;
"Grombyang"
*)
"Trisquel"
*)
set_colors 4 2 1
set_colors 4 6
ascii_file=
"grombyang"
ascii_file=
"trisquel"
;;
"Void"
*)
set_colors 2 8
ascii_file=
"void"
;;
;;
"
Haiku
"
*)
"
Ubuntu-Budgie
"
*)
set_colors
2 8
set_colors
4 7 1
ascii_file=
"
haiku
"
ascii_file=
"
ubuntu-budgie
"
;;
;;
"
Mageia
"
*)
"
Ubuntu-GNOME
"
*)
set_colors
6 7
set_colors
4 5 7 6
ascii_file=
"
mageia
"
ascii_file=
"
ubuntu-gnome
"
;;
;;
"
Porteus"
*
)
"
ubuntu_old"
)
set_colors
6 7
set_colors
1 7 3
ascii_file=
"
porteus
"
ascii_file=
"
ubuntu_old
"
;;
;;
"
Parrot
"
*)
"
Ubuntu
"
*)
set_colors
6 7
set_colors
1 7 3
ascii_file=
"
parrot
"
ascii_file=
"
ubuntu
"
;;
;;
"
SmartOS
"
*)
"
Void
"
*)
set_colors
6 7
set_colors
2 8
ascii_file=
"
smartos
"
ascii_file=
"
void
"
;;
;;
"Windows 8"
* |
"Windows 10"
*)
"Windows 8"
* |
"Windows 10"
*)
...
@@ -2983,33 +2978,38 @@ get_distro_colors() {
...
@@ -2983,33 +2978,38 @@ get_distro_colors() {
ascii_file=
"windows"
ascii_file=
"windows"
;;
;;
*
"OS X"
* | *
"iOS"
* |
"Mac"
| *
"macOS
"
*)
"Xubuntu
"
*)
set_colors
2 3 1 1 5 4
set_colors
4 7 1
ascii_file=
"
mac
"
ascii_file=
"
xubuntu
"
;;
;;
"
Linux"
)
"
Zorin"
*
)
set_colors
fg 8 3
set_colors
4 6
ascii_file=
"
linux
"
ascii_file=
"
zorin
"
;;
;;
*)
*)
case
"
$kernel_name
"
in
case
"
$kernel_name
"
in
"Linux"
)
set_colors fg 8 3
ascii_file=
"linux"
;;
*
"BSD"
)
*
"BSD"
)
set_colors 1 7 4 3 6
set_colors 1 7 4 3 6
ascii_file=
"bsd"
ascii_file=
"bsd"
;;
;;
"Darwin"
)
set_colors 2 3 1 1 5 4
ascii_file=
"mac"
;;
"GNU"
*)
"GNU"
*)
set_colors fg
set_colors fg
ascii_file=
"gnu"
ascii_file=
"gnu"
;;
;;
"Linux"
)
set_colors fg 8 3
ascii_file=
"linux"
;;
"SunOS"
)
"SunOS"
)
set_colors 3
set_colors 3
ascii_file=
"solaris"
ascii_file=
"solaris"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment