diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2018-09-18 13:42:49 -0700 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2018-09-18 13:42:49 -0700 |
commit | db1b2fbc70536b0b7ad8f36b1fdee297094eb139 (patch) | |
tree | 8992fe9396ce0dbeafde99ecd671eb5ae21d78a7 /README.md | |
parent | bb36706e866475e65f1629466e0ea202223afc01 (diff) |
Add custom colorscheme loading. Closes #55
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -68,8 +68,9 @@ go get github.com/cjbassi/gotop ### 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 [src/colorschemes](https://github.com/cjbassi/gotop/tree/master/src/colorschemes) and you can make your own by checking out the [template](https://github.com/cjbassi/gotop/blob/master/src/colorschemes/template.go). Colorschemes PR's are welcome! +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](https://github.com/cjbassi/gotop/tree/master/colorschemes). + +To make a custom colorscheme, check out the [template](https://github.com/cjbassi/gotop/blob/master/colorschemes/template.go) for instructions and then use [default.json](https://github.com/cjbassi/gotop/blob/master/colorschemes/default.json) as a starter. Then you can put the file at `~/.config/gotop/{name}.json` and load it with `gotop -c {name}`. Colorschemes PR's are welcome! ### CLI Options |