X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfiguration.h;h=d99d9fff663cd5bc965abd0049f4f24ec2ffd250;hb=db0add0f11995d4273c76c3c1ad3ab131cea6a99;hp=ac8001590a9ff37f7f5086d25a9bed4a2d39a140;hpb=315ff17563fd703b2f5117b2ec4d46e89389d323;p=i3%2Fi3 diff --git a/include/configuration.h b/include/configuration.h index ac800159..d99d9fff 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -289,16 +289,7 @@ struct Barconfig { S_SHOW = 1 } hidden_state; /** Bar modifier (to show bar when in hide mode). */ - enum { - M_NONE = 0, - M_CONTROL = 1, - M_SHIFT = 2, - M_MOD1 = 3, - M_MOD2 = 4, - M_MOD3 = 5, - M_MOD4 = 6, - M_MOD5 = 7 - } modifier; + uint32_t modifier; TAILQ_HEAD(bar_bindings_head, Barbinding) bar_bindings; @@ -331,6 +322,10 @@ struct Barconfig { * 'strip_workspace_numbers yes'. */ bool strip_workspace_numbers; + /** Strip workspace name? Configuration option is + * 'strip_workspace_name yes'. */ + bool strip_workspace_name; + /** Hide mode button? Configuration option is 'binding_mode_indicator no' * but we invert the bool for the same reason as hide_workspace_buttons.*/ bool hide_binding_mode_indicator; @@ -432,7 +427,7 @@ void ungrab_all_keys(xcb_connection_t *conn); * Sends the current bar configuration as an event to all barconfig_update listeners. * */ -void update_barconfig(); +void update_barconfig(void); /** * Kills the configerror i3-nagbar process, if any.