mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 00:16:22 +01:00
ipc: add workspace::reload event
This commit is contained in:
parent
6865b8aae9
commit
d898e035ba
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
|
||||||
if (!load_main_config(config->current_config_path, true)) {
|
if (!load_main_config(config->current_config_path, true)) {
|
||||||
return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
|
return cmd_results_new(CMD_FAILURE, "reload", "Error(s) reloading config.");
|
||||||
}
|
}
|
||||||
|
ipc_event_workspace(NULL, NULL, "reload");
|
||||||
|
|
||||||
load_swaybars();
|
load_swaybars();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue