mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
wiki: explicitly mention possible include methods
This commit is contained in:
committed by
Ivan Molodetskikh
parent
e472b5b0f1
commit
e430d3ab2b
@@ -16,6 +16,12 @@ Settings from included files will be merged with the settings from the main conf
|
|||||||
Included config files can in turn include more files.
|
Included config files can in turn include more files.
|
||||||
All included files are watched for changes, and the config live-reloads when any of them change.
|
All included files are watched for changes, and the config live-reloads when any of them change.
|
||||||
|
|
||||||
|
You can include by filename or path.
|
||||||
|
|
||||||
|
* Relative to the current file: `other.kdl` or `./other.kdl`
|
||||||
|
* By absolute path: `/path/to/file.kdl`
|
||||||
|
* <sup>Since: next release</sup> Home dir paths: `~/file.kdl` expands to `/home/user/file.kdl`
|
||||||
|
|
||||||
Includes work only at the top level of the config:
|
Includes work only at the top level of the config:
|
||||||
|
|
||||||
```kdl,must-fail
|
```kdl,must-fail
|
||||||
|
|||||||
Reference in New Issue
Block a user