aboutsummaryrefslogtreecommitdiff
path: root/include/swaybar/ipc.h
blob: 8731dac2a8b456a8701e1c50824d67df66e201e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _SWAYBAR_IPC_H
#define _SWAYBAR_IPC_H
#include <stdbool.h>
#include "swaybar/bar.h"

bool ipc_initialize(struct swaybar *bar, const char *bar_id);
bool handle_ipc_readable(struct swaybar *bar);
void ipc_get_workspaces(struct swaybar *bar);
void ipc_send_workspace_command(struct swaybar *bar, const char *ws);
void ipc_execute_binding(struct swaybar *bar, struct swaybar_binding *bind);

#endif