Skip to content

Commit

Permalink
[PR] dylanaraps/neofetch#1974 from keyile - Add support for Ubuntu Kylin
Browse files Browse the repository at this point in the history
Upstream PR: dylanaraps/neofetch#1974
Thanks to @keyile

Co-authored-by: siyuan <[email protected]>
  • Loading branch information
hykilpikonna and keyile committed Jul 31, 2022
2 parents 28dcc8a + 2e61633 commit 0453579
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -806,13 +806,13 @@ image_source="auto"
# SereneLinux, SharkLinux, Siduction, SkiffOS, Slackware, SliTaz, SmartOS,
# Solus, Soda, Sulin, 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-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-Kylin, Ubuntu Touch, Ubuntu-MATE,
# Ubuntu-Studio, Ubuntu-Sway, Ubuntu, Ultramarine, Univention, Uos, Venom, Void, yiffOS, VNux, semc,
# Obarun, wii-linux-ngx, whiite-linux, gc-linux, 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.
# NOTE: Ubuntu has flavor variants.
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, Ubuntu-Kylin
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
# NOTE: "AOSC OS/Retro", Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, Orchid, android,
Expand Down Expand Up @@ -1173,6 +1173,7 @@ get_distro() {
*"budgie"*) distro=${distro/Ubuntu/Ubuntu Budgie} ;;
*"cinnamon"*) distro=${distro/Ubuntu/Ubuntu Cinnamon} ;;
*"ubuntusway"*) distro=${distro/Ubuntu/Ubuntu Sway} ;;
*"ukui"*) distro=${distro/Ubuntu/Ubuntu Kylin} ;;
esac
fi
;;
Expand Down Expand Up @@ -5418,7 +5419,7 @@ ASCII:
SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, SmartOS,
Solus, Soda, Sulin, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
t2, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-Kylin, Ubuntu-MATE,
Ubuntu-Studio, Ubuntu-Sway, Ubuntu, Ultramarine, Uos, Univention, Venom, Void, VNux, semc,
Obarun, wii-linux-ngx, whiite-linux, gc-linux, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
Expand All @@ -5428,7 +5429,7 @@ ASCII:
NOTE: Ubuntu has flavor variants.
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
NOTE: Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, Ubuntu-Kylin,
Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
NOTE: \"AOSC OS/Retro\", Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
Expand Down Expand Up @@ -11792,6 +11793,33 @@ ${c4} `soooo. .oooo`
EOF
;;

"Ubuntu Kylin"* | "Ubuntu-Kylin"*)
set_colors 1 7 3
read -rd '' ascii_data <<'EOF'
${c1} .__=liiiiiii=__,
._=liiliii|i|i|iiilii=_.
_=iiiii|ii|i|ii|i|inwwwzii=,
.=liiii|ii|ii|wwww|i${c2}3QWWWW${c1}ziii=,
=lii|i|ii|i|${c2}QQQWWWWWm]QWWQD${c1}||iiii=
=lii|iiivw${c2}Qm${c1}>3${c2}WWWWWQWQQwwQw${c1}cii|i|ii=
=lii|ii|n${c2}QWWWQ${c1}|)i${c2}|i${c1}%i|]${c2}TQWWWWm${c1}|ii|i|i=
.li|i|i|m${c2}WWWQV${c1}|ii${c2}wmD${c1}|iiii|${c2}TWWWWm${c1}|i|iiii,
=iii${c2}www|$WQWk${c1}|i${c2}aWWWD${c1}|i|i|ii]${c2}QQWQk${c1}|ii|i|=
iii${c2}QWWWQz$WW${c1}|i${c2}jQQWQm${c1}w|ii${c2}wW${c1}k|${c2}TTTTY${c1}i|i|iii
iiI${c2}QWQWWtyQQ${c1}|i|${c2}$WWWWWQWk${c1}||i|i|ii||i|ii|i
<|i|${c2}TTT|mQQWz${c1}|i${c2}3D${c1}]C|${c2}nD$W${c1}|ii${c2}vWWWWk${c1}||ii|i>
-|ii|i|i${c2}WWWQw${c1}|${c2}Tt${c1}|i3${c2}T${c1}|${c2}T${c1}|i|${c2}nQWQWDk${c1}|ii|ii`
<|i|iii|${c2}VWQWWQ${c1}|i|i|||ii${c2}wmWWQWD${c1}||ii|ii+
<|ii|i|i]${c2}$W@${c1}tv${c2}QQQWQQQWWTTHT${c1}1|iii|i|>
<|i|ii|ii||v${c2}QWWWQWWW@vmWWWm${c1}|i|i|i>
-<|i|ii|ii|i|${c2}TTTTTT${c1}|]${c2}QQWWWC${c1}|ii>`
-<|i|ii|i|ii|i|i|ii3${c2}TTT${c1}t|i>`
~<|ii|ii|iiiii|i|||i>~
-~~<|ii|i||i>~~`
EOF
;;


"Ubuntu Touch"*)
set_colors 3 7
read -rd '' ascii_data <<'EOF'
Expand Down

0 comments on commit 0453579

Please sign in to comment.