fetch
Appearance
< Projects
fetch is a suckless-style alternative to neofetch in one C file, inspired by macchina and hfetch. Feel free to modify it.

Configuration
Like suckless tools, it is configured by editing
config.h and recompiling. Each line is a label and the
shell command that produces its value:
const char *const show[][3] = {
{ "host", "echo ${USER}@$(hostname)" },
{ "kernel", KERNEL },
{ "distro", DISTRO },
{ "uptime", UPTIME },
{ "packages", PACKAGES },
{ "cpu", CPU },
{ "gpu", GPU },
...
};
The package count uses pacman -Q by default.
Installation
$ git clone https://github.com/hugoocoto/fetch $ cd fetch $ make
It is also available through the pm user repository.
See also
- Source code (GPL-3.0)
Categories:
- Tools and applications