ASCII art of Dilbert is taken from the Kakoune text editor
ASCII art of Alice, PHB is taken from Christopher Johnson's collection
ASCII art of wolf is taken from asciiart.eu
Its just a perl script download it make it executable and put somewhere in your $PATH
For Gentoo refer to the XDream's Repository
bash -c "$(curl https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/install.sh)"
with wget
wget https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/fm6000.pl -O fm6000
with curl
curl https://raw.githubusercontent.com/anhsirk0/fetch-master-6000/master/fm6000.pl --output fm6000
making it executable
chmod +x fm6000
copying it to $PATH (~/.local/bin/ , this step is optional)
cp fm6000 ~/.local/bin/
if fm6000 in $PATH
fm6000
runing the script
./fm6000
or
perl fm6000
or
bash fm6000
fm6000 -f wolf.txt
kak wolf.txt
fm6000 -f arch_logo.txt
every line should be of same length (use spaces if needed)
atleast 10 lines is required (use empty spaces lines if needed)
-h or --help for help
-c or --color for base color
-w or --wally display Wally
-dog or --dogbert display Dogbert
-al or --alice display Alice
-phb or --phb display Pointy Haired Boss
-as or --asok display Asok
-r or --random display Random art
-f or --file display ascii art from file
-o or --os for os
-k or --kernel for kernel
-de or --de for desktop environment
-s or --shell for shell
-u or --uptime for uptime
-pa or --package for package count
-n or --not_de to use 'WM' instead of 'DE'
-v or --vnstat to use vnstat instead of kernel
-m or --margin Space on the left side of info
-g or --gap Spaces between info and info_value
-l or --length Length of the board (should be greater than 14)
option can be of single character or more
for ex: -help can be used via -h -he -hel -help as long as it avoids ambiguity
for ex: -d is ambiguous (-dogbert , -de) so atleast 2 characters should be specified
black red green yellow blue magenta cyan white random
bright_black bright_red bright_green bright_yellow
bright_blue bright_magenta bright_cyan bright_white
For random color use:
fm6000 -color random
or
fm6000 -c random
For random character use:
fm6000 -random
or
fm6000 -r
If your distro is not {arch, debian, fedora, freeBSD} based fetch-master-6000 wont be able to detect number of packages In that case you have to specify number of packages yourself For example: On Solus (eopkg) command to list all istalled packages is:
eopkg list-installed
to count packages pipe the list to wc -l
eopkg list-installed | wc -l
make it an alias to avoid typing it everytime
alias fm6000='fm6000 -p $(eopkg list-installed | wc -l)'
Similiarly for other distros
fm6000 -p $(pacman -Q | wc -l)