chafa-welcome

module
v0.0.0-...-0772c6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: MIT

README



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

Directories

Path Synopsis
cmd
dev
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL