2015-08-10 20:31:23 +00:00
|
|
|
#ifndef _SWAY_WORKSPACE_H
|
|
|
|
#define _SWAY_WORKSPACE_H
|
|
|
|
|
|
|
|
#include <wlc/wlc.h>
|
|
|
|
#include "list.h"
|
|
|
|
#include "layout.h"
|
|
|
|
|
2015-08-31 00:59:14 +00:00
|
|
|
extern char *prev_workspace_name;
|
|
|
|
|
2015-09-13 23:46:16 +00:00
|
|
|
char *workspace_next_name(void);
|
|
|
|
swayc_t *workspace_create(const char*);
|
2015-08-21 17:28:37 +00:00
|
|
|
swayc_t *workspace_by_name(const char*);
|
2015-12-17 21:28:41 +00:00
|
|
|
swayc_t *workspace_by_number(const char*);
|
2015-10-23 12:32:17 +00:00
|
|
|
bool workspace_switch(swayc_t*);
|
2015-09-13 23:46:16 +00:00
|
|
|
swayc_t *workspace_output_next();
|
|
|
|
swayc_t *workspace_next();
|
|
|
|
swayc_t *workspace_output_prev();
|
|
|
|
swayc_t *workspace_prev();
|
2015-08-10 20:31:23 +00:00
|
|
|
|
|
|
|
#endif
|