summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-12-14 11:25:31 -0500
committerDrew DeVault <[email protected]>2015-12-14 11:25:31 -0500
commit2be742d02d8dd26e111713d9bb52cd240d7d630b (patch)
tree84a5091db97f6c14515ce871922c431c0fe9eaca /include/config.h
parent89025facbf900d4f14ccd83af95c93d2358578cf (diff)
parent2cedf88273dcec1f79ecb20582c876584db10d36 (diff)
Merge pull request #314 from mikkeloscar/bar-id
Add initial support for custom bar-id
Diffstat (limited to 'include/config.h')
-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 {
* 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;