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