aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar
diff options
context:
space:
mode:
authorBrian Ashworth <bosrsf04@gmail.com>2018-10-09 18:37:53 -0400
committerBrian Ashworth <bosrsf04@gmail.com>2018-10-13 08:00:01 -0400
commit2340b14eba4b0845394c776a056765f10af1e5c2 (patch)
treee5bf50509cd7aee8afbe7344a247bbcf097fde16 /sway/commands/bar
parent00745d6280d36b57e661f9de7af84c93fde60efa (diff)
bar_cmd_status_command: only reload current bar
Ideally, this will be replaced with an IPC barconfig_update event in the near future
Diffstat (limited to 'sway/commands/bar')
-rw-r--r--sway/commands/bar/status_command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bar/status_command.c b/sway/commands/bar/status_command.c
index 5b4fdc87..490393f1 100644
--- a/sway/commands/bar/status_command.c
+++ b/sway/commands/bar/status_command.c
@@ -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);