docs: update README.md, add Gentoo GNU/Linux install method, use bash instead sh

This commit is contained in:
koru 2026-06-13 15:13:49 +00:00 committed by nekohepott
parent fa11750b45
commit 5237a6cc6d
No known key found for this signature in database

View File

@ -6,13 +6,12 @@ Fetch tool for Linux written in Go with image support
## Usage
```sh
```bash
gogofetch
# show custom image
gogofetch -l path
# If the custom image is a GIF, it will animate and gogofetch will keep running until you stop it (Ctrl+C).
# to show custom image and set custom width:
gogofetch -l path -w 250
@ -31,11 +30,19 @@ gogofetch -h
### Arch Linux
```sh
```bash
yay -S gogofetch-git
```
Also `chafa` is dependency for goGoFetch
### Gentoo
```bash
eselect repository add nekohepott git https://codeberg.org/nekohepott/neko-overlay.git
emerge --sync nekohepott
emerge -av gogofetch
```
Also see: <https://codeberg.org/nekohepott/neko-overlay>.
### NixOS
@ -54,7 +61,7 @@ home.packages = [
];
```
```sh
```bash
# run rebuild and then you can run fetch
gogofetch
```
@ -63,15 +70,15 @@ gogofetch
### Linux
```sh
```bash
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
go build -o gogofetch ./src
make build
./gogofetch
```
### Nix Flake
```sh
```bash
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
nix build
nix run --refresh git+https://codeberg.org/nekohepott/goGoFetch
@ -85,6 +92,7 @@ nix run --refresh git+https://codeberg.org/nekohepott/goGoFetch
## Special thanks❤
- [koru](https://codeberg.org/koru) for contributing and literally saving this repo when i broke it
- [melvi](https://codeberg.org/melvi) for nix flake
- [Jakepys](https://codeberg.org/Jakepys) for contributing
- [koru](https://codeberg.org/koru) for contributing and literally
saving this repo when i broke it.
- [melvi](https://codeberg.org/melvi) for Nix flake.
- [Jakepys](https://codeberg.org/Jakepys) for contributing.