2 * vim:ts=4:sw=4:expandtab
4 * i3bar - an xcb-based status- and ws-bar for i3
5 * © 2010 Axel Wagner and contributors (see also: LICENSE)
12 #include <xcb/xproto.h>
16 typedef struct rect_t rect;
18 struct ev_loop *main_loop;
28 /* First value to make it the default. */
34 /* This data structure represents one JSON dictionary, multiple of these make
35 * up one status line. */
42 /* min_width can be specified either as a numeric value (in pixels) or as a
43 * string. For strings, we set min_width to the measured text width of
54 /* The amount of pixels necessary to render a separater after the block. */
55 uint32_t sep_block_width;
57 /* The amount of pixels necessary to render this block. These variables are
58 * only temporarily used in refresh_statusline(). */
67 TAILQ_ENTRY(status_block) blocks;
70 TAILQ_HEAD(statusline_head, status_block) statusline_head;
76 #include "workspaces.h"
78 #include "trayclients.h"
82 #include "parse_json_header.h"