From 4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 2 Sep 2024 13:10:45 +0300 Subject: Read config from /etc/niri/config.kdl too --- wiki/Configuration:-Overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiki/Configuration:-Overview.md') 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. -- cgit