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:
committed by
Michael Stapelberg
parent
ab0fae400b
commit
2f42fe61d9
@ -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);
|
||||
|
Reference in New Issue
Block a user