xmtop/docs/colorschemes.md

13 lines
569 B
Markdown
Raw Normal View History

2020-06-02 22:09:23 +08:00
# 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).
2020-06-02 22:09:23 +08:00
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` and load it with `gotop -c <name>`. Colorschemes PR's are welcome!
2020-06-02 22:09:23 +08:00
To list all built-in color schemes, call:
```
gotop --list colorschemes
```