mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Add ascii art and distro detection
This commit is contained in:
15
ascii/distro/android
Normal file
15
ascii/distro/android
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
"\
|
||||||
|
${c1} ╲ ▁▂▂▂▁ ╱
|
||||||
|
▄███████▄
|
||||||
|
▄██${c2} ${c1}███${c2} ${c1}██▄
|
||||||
|
▄███████████▄
|
||||||
|
▄█ ▄▄▄▄▄▄▄▄▄▄▄▄▄ █▄
|
||||||
|
██ █████████████ ██
|
||||||
|
██ █████████████ ██
|
||||||
|
██ █████████████ ██
|
||||||
|
██ █████████████ ██
|
||||||
|
█████████████
|
||||||
|
███████████
|
||||||
|
██ ██
|
||||||
|
██ ██
|
||||||
|
"
|
3
neofetch
3
neofetch
@@ -124,6 +124,9 @@ getdistro() {
|
|||||||
elif type -p crux >/dev/null 2>&1; then
|
elif type -p crux >/dev/null 2>&1; then
|
||||||
distro="$(crux)"
|
distro="$(crux)"
|
||||||
|
|
||||||
|
elif [ -d "/system/app/" ] && [ -d "/system/priv-app" ]; then
|
||||||
|
distro="Android $(getprop ro.build.version.release)"
|
||||||
|
|
||||||
else
|
else
|
||||||
distro="$(awk -F 'NAME=' '/^NAME=/ {printf $2}' /etc/*ease)"
|
distro="$(awk -F 'NAME=' '/^NAME=/ {printf $2}' /etc/*ease)"
|
||||||
distro="${distro//\"}"
|
distro="${distro//\"}"
|
||||||
|
Reference in New Issue
Block a user