mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Re-render bar on IPC updates
This commit is contained in:
parent
3a458cd7b5
commit
86ba0fc15d
3 changed files with 53 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue