summaryrefslogtreecommitdiffstats
path: root/swaybar/status_line.h
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/status_line.h')
-rw-r--r--swaybar/status_line.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/swaybar/status_line.h b/swaybar/status_line.h
index 36020aeb..1d73dd57 100644
--- a/swaybar/status_line.h
+++ b/swaybar/status_line.h
@@ -11,7 +11,7 @@ typedef enum {UNDEF, TEXT, I3BAR} command_protocol;
11 11
12struct status_line { 12struct status_line {
13 list_t *block_line; 13 list_t *block_line;
14 char *text_line; 14 const char *text_line;
15 command_protocol protocol; 15 command_protocol protocol;
16}; 16};
17 17
@@ -42,4 +42,9 @@ struct status_line *init_status_line();
42 */ 42 */
43bool handle_status_line(struct swaybar_state *st); 43bool handle_status_line(struct swaybar_state *st);
44 44
45/**
46 * Free status line struct.
47 */
48void free_status_line(struct status_line *line);
49
45#endif /* _SWAYBAR_STATUS_LINE_H */ 50#endif /* _SWAYBAR_STATUS_LINE_H */