diff options
| author | Shardul Baral <shardul@baral.ca> | 2020-05-15 14:40:50 -0400 |
|---|---|---|
| committer | Shardul Baral <shardul@baral.ca> | 2020-05-15 15:38:57 -0400 |
| commit | 97729d1e79f77706f123dbde25063a2fd1c58795 (patch) | |
| tree | dafa5c6ae0ad6cbede5ad7bcac233088dc327ab7 /modules/programs | |
| parent | 5f6d300a2d9d7e18b2cf15ecd9cf1432249a648a (diff) | |
Separate yabai config and extra config by newline
If a user passes both `config` and `extraConfig` to the `yabai` serivce,
the generated `yabairc` file is invalid. This is because we do not add a
newline separator when we concatenate the config string generated by
`toYabaiConfig cfg.config` with `cfg.extraConfig`.
This PR prepends a newline to `cfg.extraConfig` if it is non-empty so
that the resulting `yabairc` config is valid.
Diffstat (limited to 'modules/programs')
0 files changed, 0 insertions, 0 deletions
