Skip to content

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

License

Notifications You must be signed in to change notification settings

av1ppp/chafa-welcome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



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