diff options
| author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-18 17:43:03 +0100 |
|---|---|---|
| committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-18 18:27:44 +0100 |
| commit | ede27eabc53dc926aa1932c2a58c06def1000f86 (patch) | |
| tree | 4d734e99a6163d846423c79a2d7ff04070018e78 /include/config.h | |
| parent | de219f6bec432e98e419591f6accd516402c0182 (diff) | |
Reload swaybar/swaybg on config reload.
This works by tracking the pids of the child processes in the related
output container and terminating the processes and spawning new ones on
a config reload.
Should solve: #347
Diffstat (limited to 'include/config.h')
| -rw-r--r-- | include/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 32562908..1f25a0cd 100644 --- a/include/config.h +++ b/include/config.h @@ -184,6 +184,8 @@ int sway_mouse_binding_cmp(const void *a, const void *b); int sway_mouse_binding_cmp_buttons(const void *a, const void *b); void free_sway_mouse_binding(struct sway_mouse_binding *smb); +void load_swaybars(swayc_t *output, int output_idx); + /** * Allocate and initialize default bar configuration. */ |
