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