Add Ubuntu Touch support
This commit is contained in:
parent
2f0d3db477
commit
957e280bed
1 changed files with 23 additions and 1 deletions
24
neofetch
24
neofetch
|
|
@ -805,7 +805,7 @@ image_source="auto"
|
||||||
# SereneLinux, SharkLinux, Siduction, SkiffOS, Slackware, SliTaz, SmartOS,
|
# SereneLinux, SharkLinux, Siduction, SkiffOS, Slackware, SliTaz, SmartOS,
|
||||||
# Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
|
# Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap, t2,
|
||||||
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||||
# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE,
|
# Ubuntu-Cinnamon, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu Touch, Ubuntu-MATE,
|
||||||
# Ubuntu-Studio, Ubuntu, Univention, Venom, Void, VNux, LangitKetujuh, semc,
|
# Ubuntu-Studio, Ubuntu, Univention, Venom, Void, VNux, LangitKetujuh, semc,
|
||||||
# Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
|
# Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX have ascii logos.
|
||||||
# NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
|
# NOTE: Arch, Ubuntu, Redhat, Fedora and Dragonfly have 'old' logo variants.
|
||||||
|
|
@ -1124,6 +1124,14 @@ get_distro() {
|
||||||
distro=$(trim_quotes "$distro")
|
distro=$(trim_quotes "$distro")
|
||||||
distro=${distro/NAME=}
|
distro=${distro/NAME=}
|
||||||
|
|
||||||
|
if [[ -f /usr/bin/system-image-cli ]]; then
|
||||||
|
export ut_ota = $(system-image-cli -i | awk '/version tag:/ { print $3 }');
|
||||||
|
distro="Ubuntu Touch $ut_ota";
|
||||||
|
|
||||||
|
# There's a weird UT bug where the HOSTNAME is set to android.
|
||||||
|
export HOSTNAME=$(hostname);
|
||||||
|
fi
|
||||||
|
|
||||||
# Get Ubuntu flavor.
|
# Get Ubuntu flavor.
|
||||||
if [[ $distro == "Ubuntu"* ]]; then
|
if [[ $distro == "Ubuntu"* ]]; then
|
||||||
case $XDG_CONFIG_DIRS in
|
case $XDG_CONFIG_DIRS in
|
||||||
|
|
@ -10940,6 +10948,20 @@ ${c4} `soooo. .oooo`
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Ubuntu Touch"*)
|
||||||
|
set_colors 3 7
|
||||||
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
${c1}
|
||||||
|
###############
|
||||||
|
## ##
|
||||||
|
## ${c2}##${c1} ${c2}##${c1} ##
|
||||||
|
## ${c2}##${c1} ${c2}#${c1} ${c2}#${c1} ${c2}##${c1} ##
|
||||||
|
## ${c2}###${c1} ##
|
||||||
|
## ##
|
||||||
|
###############
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
|
||||||
"Ubuntu MATE"* | "Ubuntu-MATE"*)
|
"Ubuntu MATE"* | "Ubuntu-MATE"*)
|
||||||
set_colors 2 7
|
set_colors 2 7
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue