goGoFetch/README.md

1.4 KiB

Fetch written in Go with image support

Fetch image

Install

you can get gogofetch on AUR!

yay -S gogofetch-git

also chafa is dependency for gogofetch

Usage

basic usage:

gogofetch

to show custom image :

gogofetch -l path

to show custom image and set custom width:

gogofetch -l path -w 250

to place logo on the left (default) or right:

gogofetch -p left
gogofetch -p right

to show help message:

gogofetch -h

config file is created at ~/.config/gogofetch/config.toml, all parameters are described in config file.

NixOS

credits to melvi for flake

to build with nix:

nix build

to run with nix:

nix run

to install with nixos:

  1. Add to inputs:
goGoFetch.url = "git+https://codeberg.org/nekohepott/goGoFetch";
  1. Add to packages (system-wide or home-manager):
environment.systemPackages = [
  inputs.goGoFetch.packages.${pkgs.system}.default
];

or

home.packages = [
  inputs.goGoFetch.packages.${pkgs.system}.default
];
  1. Run rebuild and then you can run fetch with gogofetch command

Build

to build:

git clone https://codeberg.org/nekohepott/goGoFetch
cd goGoFetch
go build main.go

and run:

./main

Some screenshots

alacritty alacritty

foot foot

necrokall xterm