1
1
mirror of https://github.com/swaywm/sway synced 2024-11-18 23:14:03 +01:00
sway/include/swaybar/ipc.h
2018-09-28 13:48:59 +01:00

12 lines
326 B
C

#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);
#endif