diff options
Diffstat (limited to 'include/sway/workspace.h')
-rw-r--r-- | include/sway/workspace.h | 20 |
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 | |||
6 | extern char *prev_workspace_name; | ||
7 | |||
8 | char *workspace_next_name(const char *output_name); | ||
9 | swayc_t *workspace_create(const char *name); | ||
10 | bool workspace_switch(swayc_t *workspace); | ||
11 | |||
12 | struct sway_container *workspace_by_number(const char* name); | ||
13 | swayc_t *workspace_by_name(const char*); | ||
14 | |||
15 | struct sway_container *workspace_output_next(swayc_t *current); | ||
16 | struct sway_container *workspace_next(swayc_t *current); | ||
17 | struct sway_container *workspace_output_prev(swayc_t *current); | ||
18 | struct sway_container *workspace_prev(swayc_t *current); | ||
19 | |||
20 | #endif | ||