2016-01-24 00:23:09 +01:00
|
|
|
#ifndef _SWAYBAR_IPC_H
|
|
|
|
#define _SWAYBAR_IPC_H
|
2018-03-29 10:38:17 -04:00
|
|
|
#include <stdbool.h>
|
2018-03-28 23:04:20 -04:00
|
|
|
#include "swaybar/bar.h"
|
2016-01-24 00:23:09 +01:00
|
|
|
|
2018-03-29 00:21:05 -04:00
|
|
|
void ipc_initialize(struct swaybar *bar, const char *bar_id);
|
2018-03-31 14:39:18 -04:00
|
|
|
bool handle_ipc_readable(struct swaybar *bar);
|
2018-03-29 00:21:05 -04:00
|
|
|
void ipc_get_workspaces(struct swaybar *bar);
|
2018-03-30 22:02:55 -04:00
|
|
|
void ipc_send_workspace_command(struct swaybar *bar, const char *ws);
|
2016-07-11 00:11:38 -05:00
|
|
|
|
2018-03-28 23:04:20 -04:00
|
|
|
#endif
|