diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-09-02 13:10:45 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-09-02 13:10:45 +0300 |
| commit | 4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb (patch) | |
| tree | c19a52b12720a83a6a06501d5295e35da43065be /wiki | |
| parent | aafd5ab70ff7031e8fa448d13a217ab66b6a4483 (diff) | |
| download | niri-4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb.tar.gz niri-4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb.tar.bz2 niri-4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb.zip | |
Read config from /etc/niri/config.kdl too
Diffstat (limited to 'wiki')
| -rw-r--r-- | wiki/Configuration:-Overview.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/Configuration:-Overview.md b/wiki/Configuration:-Overview.md index eedcc560..5988ac7c 100644 --- a/wiki/Configuration:-Overview.md +++ b/wiki/Configuration:-Overview.md @@ -13,8 +13,8 @@ You can find documentation for various sections of the config on these wiki page ### Loading -Niri will load configuration from `$XDG_CONFIG_HOME/niri/config.kdl` or `~/.config/niri/config.kdl`. -If that file is missing, niri will create it with the contents of [the default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl). +Niri will load configuration from `$XDG_CONFIG_HOME/niri/config.kdl` or `~/.config/niri/config.kdl`, falling back to `/etc/niri/config.kdl`. +If both of these files are missing, niri will create `$XDG_CONFIG_HOME/niri/config.kdl` with the contents of [the default configuration file](https://github.com/YaLTeR/niri/blob/main/resources/default-config.kdl), which are embedded into the niri binary at build time. Please use the default configuration file as the starting point for your custom configuration. The configuration is live-reloaded. |
