mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
swaybar: fix setting binding mode indicator
This commit is contained in:
parent
312d009f65
commit
98576b9dda
|
@ -21,7 +21,9 @@ struct cmd_results *bar_cmd_binding_mode_indicator(int argc, char **argv) {
|
||||||
config->current_bar->binding_mode_indicator = false;
|
config->current_bar->binding_mode_indicator = false;
|
||||||
wlr_log(WLR_DEBUG, "Disabling binding mode indicator on bar: %s",
|
wlr_log(WLR_DEBUG, "Disabling binding mode indicator on bar: %s",
|
||||||
config->current_bar->id);
|
config->current_bar->id);
|
||||||
|
} else {
|
||||||
|
return cmd_results_new(CMD_INVALID, "binding_mode_indicator",
|
||||||
|
"Invalid value %s", argv[0]);
|
||||||
}
|
}
|
||||||
return cmd_results_new(CMD_INVALID, "binding_mode_indicator",
|
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||||
"Invalid value %s", argv[0]);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue