chrollorifat / sysfex

Another system information tool written in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sysfex

Another neofetch-like system information fetching tool for linux-based systems written in C++

Installation

Using the provided installer script:

git clone https://github.com/mehedirm6244/sysfex
cd sysfex
./installer.sh

The installer script uses g++ for compiling sysfex and sudo for elevated permissions. If you don't have g++ installed already, install it before running the script. You may see a warning or two, ignore them.

Uninstallation

Run ./installer.sh again. The script will first remove the existing Sysfex installation and then ask whether to reinstall this or not. Just say no

Note that the local config files will remain untouched.

Or if you want to remove Sysfex manually:

sudo rm /usr/bin/sysfex
sudo rm -rf /opt/sysfex
# Remove local configuration
rm -rf ~/.config/sysfex

Usage

Flag Description
--help Print the help message
--ascii <value> The ASCII art will or won't be shown depending on <value>. That is: sysfex --ascii 0 will execute sysfex but without the ASCII art, whereas sysfex --ascii 1 will execute sysfex with the ASCII art
--ascii-path <path-to-ascii> Use a specified path for the ASCII art
--ascii-beside-txt <value> Choose whether ASCII art and system info will be printed side by side or not
--config <path-to-file> Use a specified configuration file
--info <path-to-file> Use a specified info file

Configuration

Global config files can be found inside /opt/sysfex and the local ones can be found in ~/.config/sysfex. Please note that the global config files are used as fallback when the local ones are absent, so modifying global config files are deprecated.

Screenshots

Examples of custom config

FAQ

  • I get this error: <X11/Xlib.h> header file is not found

Install libx11 or libx11-dev or whichever name your package manager uses for this package

  • Some font icons don't look as they're supposed to

Install any nerd-patched font (i.e. JetBrains Mono Nerd)

Plans for the future

  • Add support for colored output

Special thanks to

  • Some cool fetch tools spread all over Github for inspiration and ideas.
  • The contributors, testers and those who gave me ideas as well as helped this project spread
  • You, for being interested in this project

About

Another system information tool written in C++

License:Apache License 2.0


Languages

Language:C++ 88.0%Language:Shell 10.4%Language:C 1.7%