To use standard themes, clone the [colors](https://github.com/cointop-sh/colors) repository into config directory:
To use standard colorschemes, clone the [colors](https://github.com/cointop-sh/colors) repository into the config directory:
```bash
```bash
@ -363,13 +363,13 @@ $ cd ~/.cointop
$ git clone git@github.com:cointop-sh/colors.git
$ git clone git@github.com:cointop-sh/colors.git
```
```
Then edit your config `~/.cointop/config.toml` and set the colorscheme:
Then edit your config `~/.cointop/config.toml` and set the colorscheme you want to use:
```toml
```toml
colorscheme = "<COLORSCHEME_NAME>"
colorscheme = "<colorscheme>"
```
```
For example, if you have `matrix.toml` in `colors/` then the `colorscheme` property should be set to:
For example, if you have `matrix.toml` in `~/.cointop/colors/` then the `colorscheme` property should be set to:
```toml
```toml
colorscheme = "matrix"
colorscheme = "matrix"
@ -393,6 +393,7 @@ You can then configure the actions you want for each key:
currency = "USD"
currency = "USD"
defaultView = ""
defaultView = ""
api = "coingecko"
api = "coingecko"
colorscheme = "cointop"
[shortcuts]
[shortcuts]
"$" = "last_page"
"$" = "last_page"
@ -560,16 +561,20 @@ Frequently asked questions:
Options are: `coinmarketcap`, `coingecko`
Options are: `coinmarketcap`, `coingecko`
- Q: How do I change the theme (colorscheme)?
- Q: How do I change the colorscheme (theme)?
- A: You can use the `--colorscheme` flag, eg. `--colorscheme matrix`. You can also set the colorscheme choice in the config file.
- A: You can use the `--colorscheme` flag, eg. `--colorscheme matrix`. You can also set the colorscheme choice in the config file.
```toml
```toml
colorscheme = "<COLORSCHEME_NAME>"
colorscheme = "<colorscheme>"
```
```
For more instructions, visit the [colors](https://github.com/cointop-sh/colors) repository.
For more instructions, visit the [colors](https://github.com/cointop-sh/colors) repository.
- Q: How do I create a custom colorscheme?
- A: Copy an existing [colorscheme](https://github.com/cointop-sh/colors/blob/master/cointop.toml) to `~/.cointop/colors/` and customize the colors. Then run cointop with `--colorscheme <colorscheme>` to use the colorscheme.
- Q: Where is the config file located?
- Q: Where is the config file located?
- A: The default configuration file is located under `~/.cointop/config.toml`
- A: The default configuration file is located under `~/.cointop/config.toml`