Restart swaybar on config reload

master
Drew DeVault 7 years ago
parent 2e84f21ab7
commit 8b5b72c576

@ -11,8 +11,7 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config."); return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
} }
/* load_swaybars(); -- for when it's implemented */ load_swaybars();
arrange_windows(&root_container, -1, -1); arrange_windows(&root_container, -1, -1);
return cmd_results_new(CMD_SUCCESS, NULL, NULL); return cmd_results_new(CMD_SUCCESS, NULL, NULL);
} }

Loading…
Cancel
Save