mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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