diff options
Diffstat (limited to 'include/swaybar/config.h')
-rw-r--r-- | include/swaybar/config.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/swaybar/config.h b/include/swaybar/config.h index 5d40790a..add0a1cf 100644 --- a/include/swaybar/config.h +++ b/include/swaybar/config.h | |||
@@ -3,6 +3,7 @@ | |||
3 | #include <stdbool.h> | 3 | #include <stdbool.h> |
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <wayland-client.h> | 5 | #include <wayland-client.h> |
6 | #include "../include/config.h" | ||
6 | #include "list.h" | 7 | #include "list.h" |
7 | #include "util.h" | 8 | #include "util.h" |
8 | 9 | ||
@@ -34,6 +35,7 @@ struct swaybar_config { | |||
34 | char *hidden_state; | 35 | char *hidden_state; |
35 | char *modifier; | 36 | char *modifier; |
36 | bool strip_workspace_numbers; | 37 | bool strip_workspace_numbers; |
38 | bool strip_workspace_name; | ||
37 | bool binding_mode_indicator; | 39 | bool binding_mode_indicator; |
38 | bool wrap_scroll; | 40 | bool wrap_scroll; |
39 | bool workspace_buttons; | 41 | bool workspace_buttons; |
@@ -41,6 +43,14 @@ struct swaybar_config { | |||
41 | struct wl_list outputs; // config_output::link | 43 | struct wl_list outputs; // config_output::link |
42 | bool all_outputs; | 44 | bool all_outputs; |
43 | int height; | 45 | int height; |
46 | int status_padding; | ||
47 | int status_edge_padding; | ||
48 | struct { | ||
49 | int top; | ||
50 | int right; | ||
51 | int bottom; | ||
52 | int left; | ||
53 | } gaps; | ||
44 | 54 | ||
45 | struct { | 55 | struct { |
46 | uint32_t background; | 56 | uint32_t background; |
@@ -57,6 +67,14 @@ struct swaybar_config { | |||
57 | struct box_colors urgent_workspace; | 67 | struct box_colors urgent_workspace; |
58 | struct box_colors binding_mode; | 68 | struct box_colors binding_mode; |
59 | } colors; | 69 | } colors; |
70 | |||
71 | #if HAVE_TRAY | ||
72 | char *icon_theme; | ||
73 | char *tray_bindings[10]; // mouse buttons 0-9 | ||
74 | bool tray_hidden; | ||
75 | list_t *tray_outputs; // char * | ||
76 | int tray_padding; | ||
77 | #endif | ||
60 | }; | 78 | }; |
61 | 79 | ||
62 | struct swaybar_config *init_config(void); | 80 | struct swaybar_config *init_config(void); |