aboutsummaryrefslogtreecommitdiffstats
path: root/include/swaybar
diff options
context:
space:
mode:
Diffstat (limited to 'include/swaybar')
-rw-r--r--include/swaybar/bar.h2
-rw-r--r--include/swaybar/config.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/swaybar/bar.h b/include/swaybar/bar.h
index df685f47..6e1ab66d 100644
--- a/include/swaybar/bar.h
+++ b/include/swaybar/bar.h
@@ -31,7 +31,7 @@ struct swaybar_output {
31 struct zwlr_layer_surface_v1 *layer_surface; 31 struct zwlr_layer_surface_v1 *layer_surface;
32 32
33 char *name; 33 char *name;
34 int idx; 34 size_t index;
35 bool focused; 35 bool focused;
36 36
37 uint32_t width, height; 37 uint32_t width, height;
diff --git a/include/swaybar/config.h b/include/swaybar/config.h
index 4b3b5b34..6bcefe64 100644
--- a/include/swaybar/config.h
+++ b/include/swaybar/config.h
@@ -14,6 +14,7 @@ struct box_colors {
14struct config_output { 14struct config_output {
15 struct wl_list link; 15 struct wl_list link;
16 char *name; 16 char *name;
17 size_t index;
17}; 18};
18 19
19struct swaybar_config { 20struct swaybar_config {