aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/workspace.h')
-rw-r--r--include/sway/workspace.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/sway/workspace.h b/include/sway/workspace.h
new file mode 100644
index 00000000..fee54255
--- /dev/null
+++ b/include/sway/workspace.h
@@ -0,0 +1,20 @@
1#ifndef _SWAY_WORKSPACE_H
2#define _SWAY_WORKSPACE_H
3
4#include "sway/container.h"
5
6extern char *prev_workspace_name;
7
8char *workspace_next_name(const char *output_name);
9swayc_t *workspace_create(const char *name);
10bool workspace_switch(swayc_t *workspace);
11
12struct sway_container *workspace_by_number(const char* name);
13swayc_t *workspace_by_name(const char*);
14
15struct sway_container *workspace_output_next(swayc_t *current);
16struct sway_container *workspace_next(swayc_t *current);
17struct sway_container *workspace_output_prev(swayc_t *current);
18struct sway_container *workspace_prev(swayc_t *current);
19
20#endif