| 1 | # Config File |
| 2 | |
| 3 | For persistent configuration, and for certain configuration options, bottom supports config files. |
| 4 | |
| 5 | ## Default Config File |
| 6 | |
| 7 | If no config file argument is given, it will automatically look for a config file at these locations: |
| 8 | |
| 9 | | OS | Default Config Location | |
| 10 | | ------- | ------------------------------------------------------------------------------------------------------------------------------------------ | |
| 11 | | macOS | `$HOME/Library/Application Support/bottom/bottom.toml`<br/> `$HOME/.config/bottom/bottom.toml` <br/> `$XDG_CONFIG_HOME/bottom/bottom.toml` | |
| 12 | | Linux | `$HOME/.config/bottom/bottom.toml` <br/> `$XDG_CONFIG_HOME/bottom/bottom.toml` | |
| 13 | | Windows | `C:\Users\<USER>\AppData\Roaming\bottom\bottom.toml` | |
| 14 | |
| 15 | If the config file doesn't exist at the path, bottom will automatically try to create a new config file at the location |
| 16 | with default values. |
| 17 | |
| 18 | ## JSON Schema |
| 19 | |
| 20 | The configuration file also has [JSON Schema](https://json-schema.org/) support to make it easier to manage, if your |
| 21 | IDE/editor supports it. |