diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-14 16:24:01 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-14 17:17:06 +0100 |
commit | c6b13163c93f7464ae21fa238fadc238b8ef2936 (patch) | |
tree | 4722e7006ea46d5b1ba30bd5113a7705f71338b8 /include | |
parent | cf56c41c10b85882d7563c95abe185f450b4ec2b (diff) | |
download | sway-c6b13163c93f7464ae21fa238fadc238b8ef2936.tar.xz |
Add initial support for custom bar-id
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 04528e27..0f3ce550 100644 --- a/include/config.h +++ b/include/config.h @@ -72,6 +72,13 @@ struct bar_config { * In "show" mode, it will always be shown on top of the active workspace. */ char *hidden_state; + /** + * Id name used to identify the bar through IPC. + * + * Defaults to bar-x, where x corresponds to the position of the + * embedding bar block in the config file (bar-0, bar-1, ...). + */ + char *id; uint32_t modifier; enum desktop_shell_panel_position position; char *status_command; |