Feature: send complete config on barconfig_update

Send all the options in the bar block on the barconfig_update event.

This will eventually allow for dynamically updating bar colors with the
`reload` command.
This commit is contained in:
Tony Crisci
2014-04-27 01:33:58 -04:00
committed by Michael Stapelberg
parent ab0fae400b
commit 2f42fe61d9
5 changed files with 164 additions and 176 deletions

View File

@ -16,6 +16,7 @@
#include "data.h"
#include "tree.h"
#include "config.h"
#include "i3/ipc.h"
@ -93,3 +94,8 @@ void ipc_send_workspace_focus_event(Con *current, Con *old);
* also the window container, in "container".
*/
void ipc_send_window_event(const char *property, Con *con);
/**
* For the barconfig update events, we send the serialized barconfig.
*/
void ipc_send_barconfig_update_event(Barconfig *barconfig);