Add initial support for custom bar-id

This commit is contained in:
Mikkel Oscar Lyderik 2015-12-14 16:24:01 +01:00
parent cf56c41c10
commit c6b13163c9
2 changed files with 20 additions and 1 deletions

View file

@ -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;