utox39/zigfetch
Zigfetch is a minimal neofetch/fastfetch like system information tool
Zigfetch is a minimal neofetch/fastfetch like system information tool
# Clone the repo
$ git clone https://github.com/utox39/zigfetch.git
# cd to the path
$ cd path/to/zigfetch
# Build zigfetch
$ zig build -Doptimize=ReleaseSafe
# Then move it somewhere in your $PATH. Here is an example:
$ mv ./zig-out/zigfetch ~/bin/
$ zigfetch
IMPORTANT Currently, Zig does not have a built-in library for JSON validation via JSON schema, so it is very important to follow the pattern shown in the default configuration file (config.json) to avoid errors
$ mkdir -p ~/.config/zigfetch
$ cd ~/.config/zigfetch
$ touch config.json
$ cp /path/to/zigfetch/config.json ~/.config/zigfetch/config.json
If you would like to contribute to this project just create a pull request which I will try to review as soon as possible.