diff --git a/Changelog.md b/Changelog.md index b9b5dfa7..6523e00b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,11 @@ ## Contributors +## Packages + +- Neofetch is now in Termux`s repos. + + ## Images - Fix division by 0 error. diff --git a/README.md b/README.md index 4c3ba0b1..dd72521b 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ Have a look at the wiki, I've updated/added some new pages!
- [Slackware](#slackware) - [macOS](#macos) - [iOS](#ios-1) + - [Android (Termux)](#android-termux) - [Manual](#manual) - [Post Install](#post-install) - [Usage](#usage) @@ -205,6 +206,8 @@ Note: The cydia package installs these dependencies for you. Note: I recommend installing `termux` from the Play Store or F-Droid. Termux provides you with a fully working Linux environment, doesn't require root acess and includes all dependencies. +Note2: Neofetch is in Termux's official repos. + @@ -232,6 +235,7 @@ https://github.com/dylanaraps/neofetch/wiki/Following-HEAD - [Slackware](#slackware) - [macOS](#mac-os-x) - [iOS](##ios-1) +- [Android (Termux)](#android-termux) - [Manual](#manual) @@ -349,6 +353,11 @@ Download the files from [SlackBuilds](https://slackbuilds.org/repository/14.2/de 2. Install `neofetch` through cydia. +### Android (Termux) + +You can install it using `apt install neofetch` + + ### Manual 1. Download the latest source at https://github.com/dylanaraps/neofetch diff --git a/neofetch b/neofetch index 0a0a55bd..90408aad 100755 --- a/neofetch +++ b/neofetch @@ -1926,6 +1926,10 @@ getascii() { elif [ -f "/usr/local/share/neofetch/ascii/distro/${ascii/ *}" ]; then ascii="/usr/local/share/neofetch/ascii/distro/${ascii/ *}" + + elif [ -f "/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}" ]; then + ascii="/data/data/com.termux/files/usr/share/neofetch/ascii/distro/${ascii/ *}" + else getscriptdir 2>/dev/null