mirror of
https://github.com/NickHu/sway
synced 2024-12-30 22:23:30 +01:00
71a5350b68
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
commands.c | ||
config.c | ||
container.c | ||
criteria.c | ||
debug_log.c | ||
extensions.c | ||
focus.c | ||
handlers.c | ||
input.c | ||
input_state.c | ||
ipc-server.c | ||
layout.c | ||
main.c | ||
output.c | ||
resize.c | ||
sway-bar.5.txt | ||
sway-input.5.txt | ||
sway.1.txt | ||
sway.5.txt | ||
workspace.c |