Add support for a custom separator symbol
This introduces a "separator_symbol" property for the i3bar configuration. If set, the specified string will be used as a separator instead of a vertical line. Since it is an optional configuration, complete backwards compatibility is given. fixes #1472
This commit is contained in:
@ -285,6 +285,9 @@ struct Barconfig {
|
||||
/** Font specification for all text rendered on the bar. */
|
||||
char *font;
|
||||
|
||||
/** A custom separator to use instead of a vertical line. */
|
||||
char *separator_symbol;
|
||||
|
||||
/** Hide workspace buttons? Configuration option is 'workspace_buttons no'
|
||||
* but we invert the bool to get the correct default when initializing with
|
||||
* zero. */
|
||||
|
@ -67,6 +67,7 @@ CFGFUN(enter_mode, const char *mode);
|
||||
CFGFUN(mode_binding, const char *bindtype, const char *modifiers, const char *key, const char *release, const char *whole_window, const char *command);
|
||||
|
||||
CFGFUN(bar_font, const char *font);
|
||||
CFGFUN(bar_separator_symbol, const char *separator);
|
||||
CFGFUN(bar_mode, const char *mode);
|
||||
CFGFUN(bar_hidden_state, const char *hidden_state);
|
||||
CFGFUN(bar_id, const char *bar_id);
|
||||
|
Reference in New Issue
Block a user