Add ascii art and distro detection
This commit is contained in:
parent
f7353a6b64
commit
71f0575b2b
2 changed files with 18 additions and 0 deletions
3
neofetch
3
neofetch
|
@ -124,6 +124,9 @@ getdistro() {
|
|||
elif type -p crux >/dev/null 2>&1; then
|
||||
distro="$(crux)"
|
||||
|
||||
elif [ -d "/system/app/" ] && [ -d "/system/priv-app" ]; then
|
||||
distro="Android $(getprop ro.build.version.release)"
|
||||
|
||||
else
|
||||
distro="$(awk -F 'NAME=' '/^NAME=/ {printf $2}' /etc/*ease)"
|
||||
distro="${distro//\"}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue