mirror of
https://github.com/swaywm/sway.git
synced 2026-04-30 06:46:24 -04:00
Merge bc76fdbd9d into aca9f6b2a2
This commit is contained in:
commit
bf51941546
6 changed files with 20 additions and 2 deletions
|
|
@ -13,6 +13,10 @@ void ipc_bar_init(struct bar *bar, const char *bar_id);
|
|||
*/
|
||||
bool handle_ipc_event(struct bar *bar);
|
||||
|
||||
/**
|
||||
* Tell Sway to rearrange layout (after Swaybar has rendered itself).
|
||||
*/
|
||||
void ipc_send_arrange_command();
|
||||
|
||||
/**
|
||||
* Send workspace command to sway
|
||||
|
|
@ -20,4 +24,3 @@ bool handle_ipc_event(struct bar *bar);
|
|||
void ipc_send_workspace_command(const char *workspace_name);
|
||||
|
||||
#endif /* _SWAYBAR_IPC_H */
|
||||
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ struct bar_config {
|
|||
int height; // -1 not defined
|
||||
int tray_padding;
|
||||
bool workspace_buttons;
|
||||
bool wrap_scroll;
|
||||
bool wrap_scroll;
|
||||
char *separator_symbol;
|
||||
bool strip_workspace_numbers;
|
||||
bool binding_mode_indicator;
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ enum ipc_command_type {
|
|||
IPC_GET_BAR_CONFIG = 6,
|
||||
IPC_GET_VERSION = 7,
|
||||
IPC_GET_INPUTS = 8,
|
||||
IPC_ARRANGE_LAYOUT = 9,
|
||||
// Events send from sway to clients. Events have the highest bits set.
|
||||
IPC_EVENT_WORKSPACE = ((1<<31) | 0),
|
||||
IPC_EVENT_OUTPUT = ((1<<31) | 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue