bar_cmd_status_command: only reload current bar

Ideally, this will be replaced with an IPC barconfig_update event in the
near future
master
Brian Ashworth 6 years ago
parent 00745d6280
commit 2340b14eba

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

Loading…
Cancel
Save