[PR] dylanaraps/neofetch#2233 from JackGannonUK - Add Enso Support

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2233
Thanks to @JackGannonUK

Co-authored-by: Jack Gannon <jack@uquinix.com>
This commit is contained in:
Hykilpikonna 2022-11-13 12:02:37 -05:00
commit 21cffcc4f4
No known key found for this signature in database
GPG key ID: 256CD01A41D7FA26

View file

@ -1187,6 +1187,7 @@ get_distro() {
distro=${distro/DragonFly/DragonFlyBSD}
# Workarounds for some BSD based distros.
[[ -f /etc/os-release ]] && distro=Enso
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
[[ -f /etc/trueos-lang ]] && distro=TrueOS
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
@ -8646,6 +8647,32 @@ dMm `/++/-``/yNNh+/sdNMNddMm- mMd
EOF
;;
"Enso"*)
set_colors 8 7
read -rd '' ascii_data <<'EOF'
${c1}
.:--==--:.
:=*#%%%%%%%#####*+-.
.+%%%%%%%%%%%%###%%#*##*:
.*%%%%%%%%%#+==-==++*####*##-
=%%%%%%%#=: .-+**#***.
*%%%%%%#- ++*#**.
+%%%%%%+ -*+#**
:%%%%%%* .*+**=
*%%%%%%: --#*#
%%%%%%% +++#.
%%%%%%%. ++=*.
*%%%%%%+ .-+*+
:%%%%%%%- -:*+:
=%%%%%%%*. :.*+-
+%%%%%%%%*- :*=-
=%%%%%%%%%%#+=: =+=:
.+%%%%%%%%%%%%%. .-==:
.=#%%%%%%%%%%= ..:--:.
.-+#%%%%%+
EOF
;;
"EuroLinux"*)
set_colors 4 7
read -rd '' ascii_data <<'EOF'