Update readme

This commit is contained in:
Caleb Bassi 2018-12-22 19:18:32 -08:00
parent 6cfd53f077
commit 50f1f6cbd8

View File

@ -44,7 +44,7 @@ brew install gotop
### Source ### Source
**Note**: This method requires Go 1.11+. **Note**: Requires Go 1.11+.
```bash ```bash
go get github.com/cjbassi/gotop go get github.com/cjbassi/gotop
@ -83,9 +83,9 @@ go get github.com/cjbassi/gotop
### Colorschemes ### Colorschemes
gotop ships with a few colorschemes which can be set with the `-c` flag followed by the name of one. You can find all the colorschemes in [colorschemes](./colorschemes). gotop ships with a few colorschemes which can be set with the `-c` flag followed by the name of one. You can find all the colorschemes in the [colorschemes folder](./colorschemes).
To make a custom colorscheme, check out the [template](./colorschemes/template.go) for instructions and then use [default.json](./colorschemes/default.json) as a starter. Then you can put the file at `~/.config/gotop/{name}.json` on Linux or `~/Library/Application Support/gotop/{name}.json` on OSX and load it with `gotop -c {name}`. Colorschemes PR's are welcome! To make a custom colorscheme, check out the [template](./colorschemes/template.go) for instructions and then use [default.json](./colorschemes/default.json) as a starter. Then put the file at `~/.config/gotop/{name}.json` on Linux or `~/Library/Application Support/gotop/{name}.json` on OSX and load it with `gotop -c {name}`. Colorschemes PR's are welcome!
### CLI Options ### CLI Options