[PR] dylanaraps/neofetch#1974 from keyile - Add support for Ubuntu Kylin
Upstream PR: https://github.com/dylanaraps/neofetch/pull/1974 Thanks to @keyile Co-authored-by: siyuan <xinfeiyang-2008@163.com>
This commit is contained in:
commit
045357947c
1 changed files with 32 additions and 4 deletions
36
neofetch
36
neofetch
|
@ -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,
|
||||
|
@ -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
|
||||
;;
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue