docs(config): update docs to mention XDG_CONFIG_HOME precedence on all platform (#48)

This commit is contained in:
Alexandre Pasmantier 2024-11-20 01:13:38 +01:00 committed by GitHub
parent ccd7c68702
commit 30639c66b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,10 +179,13 @@ is a simple TOML file that allows you to customize the behavior of `television`
|Platform|Value|
|--------|:-----:|
|Linux|`$XDG_CONFIG_HOME/television/config.toml` or `$HOME/.config/television/config.toml`|
|Linux|`$HOME/.config/television/config.toml`|
|macOS|`$HOME/Library/Application Support/com.television/config.toml`|
|Windows|`{FOLDERID_LocalAppData}\television\config`|
**NOTE**: on either platform, `XDG_CONFIG_HOME` will always take precedence over default locations if set, in which case
television will expect the configuration file to be in `$XDG_CONFIG_HOME/television/config.toml`.
You may also override these default paths by setting the `TELEVISION_CONFIG` environment variable to the path of your desired configuration **folder**.
Example: