docs: update README.md, add Gentoo GNU/Linux install method, use bash instead sh
This commit is contained in:
parent
fa11750b45
commit
5237a6cc6d
30
README.md
30
README.md
@ -6,13 +6,12 @@ Fetch tool for Linux written in Go with image support
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
gogofetch
|
gogofetch
|
||||||
|
|
||||||
# show custom image
|
# show custom image
|
||||||
gogofetch -l path
|
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:
|
# to show custom image and set custom width:
|
||||||
gogofetch -l path -w 250
|
gogofetch -l path -w 250
|
||||||
|
|
||||||
@ -31,11 +30,19 @@ gogofetch -h
|
|||||||
|
|
||||||
### Arch Linux
|
### Arch Linux
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
yay -S gogofetch-git
|
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
|
### NixOS
|
||||||
|
|
||||||
@ -54,7 +61,7 @@ home.packages = [
|
|||||||
];
|
];
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
# run rebuild and then you can run fetch
|
# run rebuild and then you can run fetch
|
||||||
gogofetch
|
gogofetch
|
||||||
```
|
```
|
||||||
@ -63,15 +70,15 @@ gogofetch
|
|||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
|
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
|
||||||
go build -o gogofetch ./src
|
make build
|
||||||
./gogofetch
|
./gogofetch
|
||||||
```
|
```
|
||||||
|
|
||||||
### Nix Flake
|
### Nix Flake
|
||||||
|
|
||||||
```sh
|
```bash
|
||||||
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
|
git clone https://codeberg.org/nekohepott/goGoFetch && cd goGoFetch
|
||||||
nix build
|
nix build
|
||||||
nix run --refresh git+https://codeberg.org/nekohepott/goGoFetch
|
nix run --refresh git+https://codeberg.org/nekohepott/goGoFetch
|
||||||
@ -85,6 +92,7 @@ nix run --refresh git+https://codeberg.org/nekohepott/goGoFetch
|
|||||||
|
|
||||||
## Special thanks❤️
|
## Special thanks❤️
|
||||||
|
|
||||||
- [koru](https://codeberg.org/koru) for contributing and literally saving this repo when i broke it
|
- [koru](https://codeberg.org/koru) for contributing and literally
|
||||||
- [melvi](https://codeberg.org/melvi) for nix flake
|
saving this repo when i broke it.
|
||||||
- [Jakepys](https://codeberg.org/Jakepys) for contributing
|
- [melvi](https://codeberg.org/melvi) for Nix flake.
|
||||||
|
- [Jakepys](https://codeberg.org/Jakepys) for contributing.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user