Yet Another Fetch is a tool that fetches system information and shows it in a beautiful way for some extra upvotes on r/unixporn. It is extremely minimal and customizability is it's strong feature. Don't want to show your disk usage? Hide it with the exclude
flag. Want to change the separator between the os
and Arch Linux
field? Use separator
flag.
yaf
is written in Golang. (Because everyone is writing a fetch in some language, why not Go then?)
Get the latest release binary from GitHub and use it on your system. Yes, as simple as that.
yaf
is available on AUR here and can be installed with:
yay -S yafetch
or
paru -S yafetch
NOTE:
yaf
was taken so had to publish withyafetch
name.
You can install yaf, by adding the overlay to layman with this command
sudo layman -a thamognya
and then you can do
sudo emerge -a yaf
It will ask you to unmask it, as it is still testing for bugs (this is standard procedure for new ebuilds) hence you can unmask it by doing
sudo emerge yaf --autounmask && dispatch-conf
then type u
and then emerge it with the following command
sudo emerge -a yaf --autounmask
and then install the package how you would normally.
If you wish, you can install the package manually using the following:
- Clone the repo:
git clone git@github.com:deepjyoti30/yaf.git
- Cd into the repo and use make to install the package:
cd yaf && make install
NOTE: You might want to use the mighty
sudo
with the make command above.
Usage of yaf:
-exclude disk os
Exclude the passed fields from output. Values should be space separated, eg: disk os (default "username hostname")
-key-prefix string
Prefix to be set before the key is printed (default "▪ ")
-no-color
Disable showing colors in the output
-separator string
Separator to be used between the key and the value (default " ")
If you like this package and my other works, your support would be appreciated!
Your contribution would be appreciated. Consider taking a look at the guidelines before opening a PR. If you just want a new feature added, you can open a feature request!