mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
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:
parent
00745d6280
commit
2340b14eba
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue