aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2024-05-03 20:44:17 +0300
committerJosh Rahm <rahm@google.com>2024-08-14 15:42:41 -0600
commit832ae01aefe28efaeff9b98234afabd8649f887e (patch)
tree0af23c96697e115b779c712ddb9bea0d1944b223
parent0e7a84d15fb2674660abca28b9cbc1e6ab0163fe (diff)
downloadr-alacritty-832ae01aefe28efaeff9b98234afabd8649f887e.tar.gz
r-alacritty-832ae01aefe28efaeff9b98234afabd8649f887e.tar.bz2
r-alacritty-832ae01aefe28efaeff9b98234afabd8649f887e.zip
Add config file locations into alacritty(5)
-rw-r--r--README.md6
-rw-r--r--extra/man/alacritty.5.scd14
2 files changed, 16 insertions, 4 deletions
diff --git a/README.md b/README.md
index af678ff8..d00520b4 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd
index 81637f3e..a26b3d96 100644
--- a/extra/man/alacritty.5.scd
+++ b/extra/man/alacritty.5.scd
@@ -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.