Then edit your config `~/.config/cointop/config.toml` and set the colorscheme you want to use:
Then edit your config `~/.config/cointop/config.toml` and set the colorscheme you want to use:
```toml
```toml
colorscheme = "<colorscheme>"
colorscheme = "cointop"
```
```
The colorscheme name is the name of the colorscheme TOML file.
The colorscheme name is the name of the colorscheme TOML file.
For example, if you have `matrix.toml` in `~/.cointop/colors/` then the `colorscheme` property should be set to:
By default, the colorscheme files should go under `~/.config/cointop/colors/`
For example, if you have `matrix.toml` under `~/.config/cointop/colors/matrix.toml` then the `colorscheme` property in `config.toml` should be set to:
```toml
```toml
colorscheme = "matrix"
colorscheme = "matrix"
@ -37,3 +39,96 @@ $ cointop --colorscheme matrix
```
```
To create your own colorscheme; simply copy an existing [colorscheme](https://github.com/cointop-sh/colors/blob/master/cointop.toml), rename it, and customize the colors.
To create your own colorscheme; simply copy an existing [colorscheme](https://github.com/cointop-sh/colors/blob/master/cointop.toml), rename it, and customize the colors.
Copy an existing [colorscheme](https://github.com/cointop-sh/colors/blob/master/cointop.toml) to `~/.config/cointop/colors/` and customize the colors. Then run cointop with `--colorscheme <colorscheme>` to use the colorscheme.
Copy an existing [colorscheme](https://github.com/cointop-sh/colors/blob/master/cointop.toml) to `~/.config/cointop/colors/` and customize the colors. Then run cointop with `--colorscheme <colorscheme>` to use the colorscheme.
## How do I make the background color transparent?
Change the background color options in the colorscheme file to `default` to use the system default color, eg. `base_bg = "default"`
## Why don't colorschemes support RGB or hex colors?
Some of the cointop underlying rendering libraries don't support true colors. See [issue](https://github.com/nsf/termbox/issues/37).
## Where is the config file located?
## Where is the config file located?
The default configuration file is located under `~/.config/cointop/config.toml`
The default configuration file is located under `~/.config/cointop/config.toml`