diff options
author | 2016-03-26 12:31:53 +0100 | |
---|---|---|
committer | 2016-03-26 16:37:50 +0100 | |
commit | 71a5350b681e022e9738b50f2977ddb529110bfb (patch) | |
tree | 4c199980a9f80c07d69130a72402a5cfe2a8a63f /swaylock | |
parent | Update README.md (diff) | |
download | sway-71a5350b681e022e9738b50f2977ddb529110bfb.tar.gz sway-71a5350b681e022e9738b50f2977ddb529110bfb.tar.zst sway-71a5350b681e022e9738b50f2977ddb529110bfb.zip |
Implement include command
The include command (`include <path>`) makes it possible to include sub
config files from the main config file (or from within other sub config
files).
The include command uses the following rules for including config files:
* the `path` can be either a full path or a path that is relative to the
parent config. Shell expansion is supported, so it's possible to do
`include ~/.config/sway.d/*`.
* The same config file can only be included once (to prevent include
cycles). If a config is included multiple times it will just be
ignored after it has been included once.
* Including a sub config file is the same as inserting the content of
that file into the parent config, thus rules about overwriting
bindsyms etc. works the same as for a single config.
Implement #542
Diffstat (limited to 'swaylock')
0 files changed, 0 insertions, 0 deletions