diff options
Diffstat (limited to 'include/swaybar/config.h')
-rw-r--r-- | include/swaybar/config.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 1bfe4843..4b3b5b34 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h | |||
@@ -2,21 +2,20 @@ | |||
2 | #define _SWAYBAR_CONFIG_H | 2 | #define _SWAYBAR_CONFIG_H |
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include "list.h" | 5 | #include <wayland-client.h> |
6 | #include "util.h" | 6 | #include "util.h" |
7 | 7 | ||
8 | /** | ||
9 | * Colors for a box with background, border and text colors. | ||
10 | */ | ||
11 | struct box_colors { | 8 | struct box_colors { |
12 | uint32_t border; | 9 | uint32_t border; |
13 | uint32_t background; | 10 | uint32_t background; |
14 | uint32_t text; | 11 | uint32_t text; |
15 | }; | 12 | }; |
16 | 13 | ||
17 | /** | 14 | struct config_output { |
18 | * Swaybar config. | 15 | struct wl_list link; |
19 | */ | 16 | char *name; |
17 | }; | ||
18 | |||
20 | struct swaybar_config { | 19 | struct swaybar_config { |
21 | char *status_command; | 20 | char *status_command; |
22 | bool pango_markup; | 21 | bool pango_markup; |
@@ -28,8 +27,7 @@ struct swaybar_config { | |||
28 | bool binding_mode_indicator; | 27 | bool binding_mode_indicator; |
29 | bool wrap_scroll; | 28 | bool wrap_scroll; |
30 | bool workspace_buttons; | 29 | bool workspace_buttons; |
31 | bool all_outputs; | 30 | struct wl_list outputs; |
32 | list_t *outputs; | ||
33 | int height; | 31 | int height; |
34 | 32 | ||
35 | struct { | 33 | struct { |
@@ -51,5 +49,6 @@ struct swaybar_config { | |||
51 | 49 | ||
52 | struct swaybar_config *init_config(); | 50 | struct swaybar_config *init_config(); |
53 | void free_config(struct swaybar_config *config); | 51 | void free_config(struct swaybar_config *config); |
52 | uint32_t parse_position(const char *position); | ||
54 | 53 | ||
55 | #endif | 54 | #endif |