X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfiguration.h;h=6f55ac2a57f7fe7ef280ca956267b46c63b82db9;hb=eedb25765590460d328f42364cc2396a6fcd9f0e;hp=87897aafcd7137592e0d1e4725d29de2cdbeb9e1;hpb=2269b2e7950d0d984ba73eed8d506c9feaeb82e9;p=i3%2Fi3 diff --git a/include/configuration.h b/include/configuration.h index 87897aaf..6f55ac2a 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -201,6 +201,13 @@ struct Config { * decoration. Marks starting with a "_" will be ignored either way. */ bool show_marks; + /** Title alignment options. */ + enum { + ALIGN_LEFT, + ALIGN_CENTER, + ALIGN_RIGHT + } title_align; + /** The default border style for new windows. */ border_style_t default_border; @@ -289,16 +296,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; @@ -436,7 +434,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.