Merge pull request #3167 from hwangcc23/fix-3163
Add strip_workspace_name
This commit is contained in:
@ -627,6 +627,10 @@ CFGFUN(bar_strip_workspace_numbers, const char *value) {
|
||||
current_bar->strip_workspace_numbers = eval_boolstr(value);
|
||||
}
|
||||
|
||||
CFGFUN(bar_strip_workspace_name, const char *value) {
|
||||
current_bar->strip_workspace_name = eval_boolstr(value);
|
||||
}
|
||||
|
||||
CFGFUN(bar_start) {
|
||||
current_bar = scalloc(1, sizeof(struct Barconfig));
|
||||
TAILQ_INIT(&(current_bar->bar_bindings));
|
||||
|
@ -709,6 +709,9 @@ static void dump_bar_config(yajl_gen gen, Barconfig *config) {
|
||||
ystr("strip_workspace_numbers");
|
||||
y(bool, config->strip_workspace_numbers);
|
||||
|
||||
ystr("strip_workspace_name");
|
||||
y(bool, config->strip_workspace_name);
|
||||
|
||||
ystr("binding_mode_indicator");
|
||||
y(bool, !config->hide_binding_mode_indicator);
|
||||
|
||||
|
Reference in New Issue
Block a user