bar_cmd_status_command: only reload current bar

Ideally, this will be replaced with an IPC barconfig_update event in the
near future
This commit is contained in:
Brian Ashworth 2018-10-09 18:37:53 -04:00
parent 00745d6280
commit 2340b14eba

View file

@ -25,7 +25,7 @@ struct cmd_results *bar_cmd_status_command(int argc, char **argv) {
}
if (config->active && !config->validating) {
load_swaybars();
load_swaybar(config->current_bar);
}
return cmd_results_new(CMD_SUCCESS, NULL, NULL);