diff options
author | Drew DeVault <[email protected]> | 2016-02-27 16:18:50 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2016-02-27 16:18:50 -0500 |
commit | 3453910c3e887be900c69394b738e34d9d8ba095 (patch) | |
tree | 28e0d8d72557ac57a2f9aed5c94818c8ba20e97f /include/config.h | |
parent | 5ff3fb1c0472d974f74c0329a10895cc76c83a55 (diff) | |
parent | 67bbcceba1433e41b5edfca32532b7d55a39a395 (diff) |
Merge pull request #492 from mikkeloscar/swaybar-multi-output
Display single swaybar on multiple outputs
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h index 655d0a9c..d77872ee 100644 --- a/include/config.h +++ b/include/config.h @@ -125,6 +125,7 @@ struct bar_config { bool strip_workspace_numbers; bool binding_mode_indicator; bool verbose; + pid_t pid; struct { char background[10]; char statusline[10]; @@ -192,6 +193,10 @@ bool load_config(const char *file); */ bool read_config(FILE *file, bool is_active); /** + * Free config struct + */ +void free_config(struct sway_config *config); +/** * Does variable replacement for a string based on the config's currently loaded variables. */ char *do_var_replacement(char *str); @@ -226,8 +231,7 @@ int sway_mouse_binding_cmp_qsort(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); -void terminate_swaybars(list_t *pids); +void load_swaybars(); void terminate_swaybg(pid_t pid); /** |