aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 16:24:01 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-14 17:17:06 +0100
commitc6b13163c93f7464ae21fa238fadc238b8ef2936 (patch)
tree4722e7006ea46d5b1ba30bd5113a7705f71338b8 /include
parentMove sway/util.c to common/util.c (diff)
downloadsway-c6b13163c93f7464ae21fa238fadc238b8ef2936.tar.gz
sway-c6b13163c93f7464ae21fa238fadc238b8ef2936.tar.zst
sway-c6b13163c93f7464ae21fa238fadc238b8ef2936.zip
Add initial support for custom bar-id
Diffstat (limited to 'include')
-rw-r--r--include/config.h7
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 {
72 * In "show" mode, it will always be shown on top of the active workspace. 72 * In "show" mode, it will always be shown on top of the active workspace.
73 */ 73 */
74 char *hidden_state; 74 char *hidden_state;
75 /**
76 * Id name used to identify the bar through IPC.
77 *
78 * Defaults to bar-x, where x corresponds to the position of the
79 * embedding bar block in the config file (bar-0, bar-1, ...).
80 */
81 char *id;
75 uint32_t modifier; 82 uint32_t modifier;
76 enum desktop_shell_panel_position position; 83 enum desktop_shell_panel_position position;
77 char *status_command; 84 char *status_command;