Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 1.48 KB

README.md

File metadata and controls

68 lines (48 loc) · 1.48 KB



License Linux

Command line tool for getting system information with a render via chafa


Pre-requirements

  1. First you need to install chafa:

    • The current version can always be installed from the repository.
    • Arch / Manjaro:
      sudo pacman -S chafa
    • Ubuntu / Debian / Mint:
      sudo apt install chafa
  2. You also need to have golang installed

  3. Make sure that the ~/go/bin directory is added to the PATH

Download and install

cd $(mktemp -d)
git clone https://github.com/av1ppp/chafa-welcome
cd chafa-welcome
go install ./cmd/chafa-welcome
chafa-welcome

If the installation was successful, you will get an error:

panic: validation error: stat /path/to/image.jpg: no such file or directory

You will only need to specify the path to the image in the ~/chafa-welcome/config file in the source field:

[image]
source = '/real/path/to/image.jpg'

Development environment

The application was developed and tested with the following versions:

  • golang - 1.20.4
  • chafa - 1.13.0