summaryrefslogtreecommitdiffstats
path: root/docs/colorschemes.md
blob: 430a3729749574e08c0adc751dfdaa42fec67657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 put the file at `~/.config/gotop/<name>.json` and load it with `gotop -c <name>`. Colorschemes PR's are welcome!

To list all built-in color schemes, call:

```
gotop --list colorschemes
```