Add config file locations into alacritty(5)

This commit is contained in:
Aarni Koskela 2024-05-03 20:44:17 +03:00 committed by GitHub
parent ed3fac8a03
commit 26ed8e1b9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 4 deletions

View File

@ -69,11 +69,9 @@ following locations:
3. `$HOME/.config/alacritty/alacritty.toml`
4. `$HOME/.alacritty.toml`
### Windows
On Windows, the config file will be looked for in:
On Windows, the config file should be located at:
`%APPDATA%\alacritty\alacritty.toml`
* `%APPDATA%\alacritty\alacritty.toml`
## Contributing

View File

@ -9,6 +9,20 @@ Alacritty - TOML configuration file format.
Alacritty's configuration file uses the TOML format. The format's specification
can be found at _https://toml.io/en/v1.0.0_.
# LOCATION
Alacritty doesn't create the config file for you, but it looks for one in the
following locations on UNIX systems:
. `$XDG_CONFIG_HOME/alacritty/alacritty.toml`
. `$XDG_CONFIG_HOME/alacritty.toml`
. `$HOME/.config/alacritty/alacritty.toml`
. `$HOME/.alacritty.toml`
On Windows, the config file will be looked for in:
. `%APPDATA%\alacritty\alacritty.toml`
# GENERAL
This section documents the root level of the configuration file.