mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 13:04:11 +01: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 New Issue
Block a user