mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-05-04 14:40:31 +02:00
* other: add json schema (#1382) * docs: add some screenshots * other: move around schema files * docs: move around some docs around config files --------- Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
22 lines
1.3 KiB
Markdown
22 lines
1.3 KiB
Markdown
# Config File
|
|
|
|
For persistent configuration, and for certain configuration options, bottom supports config files.
|
|
|
|
## Default Config File
|
|
|
|
If no config file argument is given, it will automatically look for a config file at these locations:
|
|
|
|
| OS | Default Config Location |
|
|
| ------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| macOS | `$HOME/Library/Application Support/bottom/bottom.toml`<br/> `~/.config/bottom/bottom.toml` <br/> `$XDG_CONFIG_HOME/bottom/bottom.toml` |
|
|
| Linux | `~/.config/bottom/bottom.toml` <br/> `$XDG_CONFIG_HOME/bottom/bottom.toml` |
|
|
| Windows | `C:\Users\<USER>\AppData\Roaming\bottom\bottom.toml` |
|
|
|
|
Like if a path is passed with `-C`/`--config`, if a file doesn't exist at the path, bottom will automatically create a
|
|
new, default config file at that location.
|
|
|
|
## JSON Schema
|
|
|
|
The configuration file also has [JSON Schema](https://json-schema.org/) support to make it easier to manage, if your
|
|
IDE/editor supports it.
|