summaryrefslogtreecommitdiffstats
path: root/docs/content/configuration/config-file/default-config.md
blob: 85fb3f4284d6a8f4e9c9dcdb01bea8ac53498bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
# Default Config

A default config file is automatically generated at the following locations that bottom checks by default:

| 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`                                                                                   |

Furthermore, if a custom config path that does not exist is given (using `-C` or `--config`), bottom will attempt to create a default config file at that location.