zFetch is a lightweight system information fetcher for the Linux platform developed in C99 without any additional dependency. Unlike other system fetchers, this one focuses on providing an easy interface and configuration syntax, extremely fast startup and a reasonable amount of core features.

At the time being, it supports the following features:

This tool can be compiled using any modern C compiler (GCC/Clang) and the resulting binary file can be moved wherever you prefer. In its simplest form, you can just invoke the program without any additional parameter and it will run with all options enabled. If you instead would like to granularly enable or disable some features, you can do so by creating a configuration file in one of the following paths:

Inside it, you can specify which option to enable and which one to disable:

HOST     = 1
OS       = 0
UPTIME   = 1
CPU      = 1
MEMORY   = 1
DISK     = 1
IP       = 1
LOGO     = 1
BARS     = 0
SHELL    = 1
TERMINAL = 0
DESKTOP  = 1
INIT     = 1
BATTERY  = 1

Then, to retrieve which options are currently enabled, you can run the program with the -s flag, that is:

$ ./zfetch  --list-opts # or -s
HOST     : ON
OS       : OFF
UPTIME   : ON
CPU      : ON
MEMORY   : ON
DISK     : ON
IP       : ON
LOGO     : ON
BARS     : OFF
SHELL    : ON
TERMINAL : OFF
DESKTOP  : ON
INIT     : ON
BATTERY  : ON