* vim:ts=4:sw=4:expandtab
*
* i3bar - an xcb-based status- and ws-bar for i3
- * © 2010-2011 Axel Wagner and contributors (see also: LICENSE)
+ * © 2010 Axel Wagner and contributors (see also: LICENSE)
*
* config.c: Parses the configuration (received from i3).
*
M_HIDE = 1,
M_INVISIBLE = 2 } bar_display_mode_t;
+typedef struct mouse_command_t {
+ int button;
+ char *command;
+
+ TAILQ_ENTRY(mouse_command_t) commands;
+} mouse_command_t;
+
typedef struct config_t {
int modifier;
- char *wheel_up_cmd;
- char *wheel_down_cmd;
+ TAILQ_HEAD(mouse_commands_head, mouse_command_t) mouse_commands;
position_t position;
int verbose;
struct xcb_color_strings_t colors;