A pretty system information tool written in bash for termux on android.
Note: Use meslo nerd font.
created by Laraib07
Note: Delete previous cache manually with
rm -rf ~/.cache/androfetch/cache
- Install fonts ( optional , else disable icons with
androfetch -i
)
wget https://raw.githubusercontent.com/laraib07/androfetch/main/font.ttf && mv font.ttf ~/.termux/
or
curl -O https://raw.githubusercontent.com/laraib07/androfetch/main/font.ttf && mv font.ttf ~/.termux/
- Installing androfetch.
wget https://raw.githubusercontent.com/laraib07/androfetch/main/androfetch && chmod u+x androfetch && mv androfetch $PREFIX/bin/
or
curl -O https://raw.githubusercontent.com/laraib07/androfetch/main/androfetch && chmod u+x androfetch && mv androfetch $PREFIX/bin/
Usage : androfetch [-hci] [-n [name]] [ -l [filepath]]
option | Description |
---|---|
-h | print this usage |
-c | build new cache |
-i | toggle icon visibility |
-t | toggle description title visibility |
-n | set user name |
-l | set logo |
To set custom logo, save logo in a file without quoting or commenting Add whitespaces to make every line equal in width. Do not use broad logo which will cover significant space. although you can use as many lines as you like.
See sample_logo in this repo for reference.
After saving it use following command to set it.
androfetch -l <filepath>
To set it to default use,
androfetch -l