swayfx/include/swaybar/ipc.h

13 lines
383 B
C
Raw Normal View History

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>
#include "swaybar/bar.h"
2016-01-24 00:23:09 +01:00
bool ipc_initialize(struct swaybar *bar);
2018-03-31 14:39:18 -04:00
bool handle_ipc_readable(struct swaybar *bar);
2018-10-12 21:05:43 +01:00
bool ipc_get_workspaces(struct swaybar *bar);
void ipc_send_workspace_command(struct swaybar *bar, const char *ws);
2018-10-08 11:40:13 -04:00
void ipc_execute_binding(struct swaybar *bar, struct swaybar_binding *bind);
#endif