Add ascii art and distro detection
This commit is contained in:
parent
f7353a6b64
commit
71f0575b2b
2 changed files with 18 additions and 0 deletions
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//\"}"
|
||||||
|
|
Loading…
Reference in a new issue