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