mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 08:21:28 +00:00
Restart swaybar on config reload
This commit is contained in:
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…
Reference in a new issue