sway/include/swaybar/ipc.h

12 lines
323 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 16:38:17 +02:00
#include <stdbool.h>
#include "swaybar/bar.h"
2016-01-24 00:23:09 +01:00
2018-03-29 06:21:05 +02:00
void ipc_initialize(struct swaybar *bar, const char *bar_id);
2018-03-29 16:38:17 +02:00
bool handle_ipc_event(struct swaybar *bar);
2018-03-29 06:21:05 +02:00
void ipc_get_workspaces(struct swaybar *bar);
void ipc_send_workspace_command(struct swaybar *bar, const char *ws);
#endif