Re-render bar on IPC updates

This commit is contained in:
Drew DeVault 2018-03-29 10:38:17 -04:00
parent 3a458cd7b5
commit 86ba0fc15d
3 changed files with 53 additions and 4 deletions

View file

@ -1,9 +1,10 @@
#ifndef _SWAYBAR_IPC_H
#define _SWAYBAR_IPC_H
#include <stdbool.h>
#include "swaybar/bar.h"
void ipc_initialize(struct swaybar *bar, const char *bar_id);
void handle_ipc_event(struct swaybar *bar);
bool handle_ipc_event(struct swaybar *bar);
void ipc_get_workspaces(struct swaybar *bar);
#endif