[PR] dylanaraps/neofetch#2136 from Sunderland93 - Add Ubuntu Sway logo

Upstream PR: https://github.com/dylanaraps/neofetch/pull/2136
Thanks to @Sunderland93

Co-authored-by: Sunderland93 <samoilov.lex@gmail.com>
This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-07-30 18:03:33 -04:00
commit 94c1f63f56

View file

@ -806,7 +806,7 @@ image_source="auto"
# Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu Touch, Ubuntu-MATE,
# Ubuntu-Studio, Ubuntu, Univalent, Univention, Venom, Void, VNux, LangitKetujuh, semc,
# Ubuntu-Studio, Ubuntu-Sway, Ubuntu, Univention, Venom, Void, VNux, LangitKetujuh, semc,
# Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
# NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
@ -1153,6 +1153,7 @@ get_distro() {
*"Lubuntu"*) distro=${distro/Ubuntu/Lubuntu} ;;
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
*"ubuntusway"*) distro=${distro/Ubuntu/Ubuntu Sway} ;;
esac
fi
;;
@ -5213,7 +5214,7 @@ ASCII:
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, VNux, LangitKetujuh, semc,
Ubuntu-Studio, Ubuntu-Sway, Ubuntu, Univention, Venom, Void, VNux, LangitKetujuh, semc,
Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
@ -11194,7 +11195,33 @@ ${c1} ..-::::::-.`
..-::::::-..
EOF
;;
"Ubuntu Sway"* | "Ubuntu-Sway")
set_colors 6 7
read -rd '' ascii_data <<'EOF'
${c1} .-/+oossssoo+\-.
´:+ssssssssssssssssss+:`
-+ssssssssssssssssss${c2}yy${c1}ssss+-
.ossssssssssssssssss${c2}dMMMNyy${c1}ssso.
/sssssssssss${c2}hdmmNNmmyNMMMMh${c1}ssssss\
+sssssssss${c2}hm${c1}ydMMMMMMMNdd${c2}ddy${c1}ssssssss+
/ssssssss${c2}hN${c1}MM${c2}M${c1}yh${c2}hyyyyhmNM${c1}MM${c2}Nh${c1}ssssssss\
.ssssssss${c2}dM${c1}MM${c2}Nh${c1}ssssssssss${c2}hN${c1}MM${c2}Md${c1}ssssssss.
+sss${c2}yyyyyN${c1}MM${c2}Ny${c1}ssssssssssss${c2}yN${c1}MM${c2}My${c1}sssssss+
ossy${c2}NMMMNy${c1}MM${c2}h${c1}ssssssssssssss${c2}hm${c1}mm${c2}h${c1}ssssssso
ossy${c2}NMMMNy${c1}MM${c2}h${c1}sssssssssssssshmmmh${c1}ssssssso
+sss${c2}yyyyyN${c1}MM${c2}Ny${c1}ssssssssssss${c2}yN${c1}MM${c2}My${c1}sssssss+
.ssssssss${c2}dM${c1}MM${c2}Nh${c1}ssssssssss${c2}hN${c1}MM${c2}Md${c1}ssssssss.
\ssssssss${c2}hN${c1}MM${c2}M${c1}yh${c2}hyyyyhdNM${c1}M${c2}MNh${c1}ssssssss/
+sssssssss${c2}dm${c1}ydMMMMMMMMdd${c2}ddy${c1}ssssssss+
\sssssssssss${c2}hdmNNNNmyNMMMMh${c1}ssssss/
.ossssssssssssssssss${c2}dMMMNyy${c1}ssso.
-+sssssssssssssssss${c2}yy${c1}sss+-
`:+ssssssssssssssssss+:`
.-\+oossssoo+/-.
EOF
;;
"ubuntu_small")
set_colors 1 7 3
read -rd '' ascii_data <<'EOF'