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