aboutsummaryrefslogtreecommitdiff
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 {
struct zwlr_layer_surface_v1 *layer_surface;
char *name;
- int idx;
+ size_t index;
bool focused;
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 {
struct config_output {
struct wl_list link;
char *name;
+ size_t index;
};
struct swaybar_config {