mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
swaybar: move headers to include/bar
This commit is contained in:
parent
4b48a8399a
commit
ed227f5664
11 changed files with 14 additions and 14 deletions
17
include/bar/ipc.h
Normal file
17
include/bar/ipc.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef _SWAYBAR_IPC_H
|
||||
#define _SWAYBAR_IPC_H
|
||||
|
||||
#include "bar.h"
|
||||
|
||||
/**
|
||||
* Initialize ipc connection to sway and get sway state, outputs, bar_config.
|
||||
*/
|
||||
void ipc_bar_init(struct bar *bar, int outputi, const char *bar_id);
|
||||
|
||||
/**
|
||||
* Handle ipc event from sway.
|
||||
*/
|
||||
bool handle_ipc_event(struct bar *bar);
|
||||
|
||||
#endif /* _SWAYBAR_IPC_H */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue