mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00: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 |
||
---|---|---|
.. | ||
bar | ||
client | ||
lock | ||
commands.h | ||
config.h | ||
container.h | ||
criteria.h | ||
extensions.h | ||
focus.h | ||
handlers.h | ||
input.h | ||
input_state.h | ||
ipc-client.h | ||
ipc-server.h | ||
ipc.h | ||
layout.h | ||
list.h | ||
log.h | ||
output.h | ||
readline.h | ||
resize.h | ||
stringop.h | ||
sway.h | ||
util.h | ||
workspace.h |