Remove extraneous load_swaybars call

Swaybars are already loaded after calling load_main_config
This commit is contained in:
Hummer12007 2019-08-26 21:53:50 +03:00 committed by GitHub
parent a298cad05c
commit ff2aad470d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,6 @@ static void do_reload(void *data) {
ipc_event_workspace(NULL, NULL, "reload"); ipc_event_workspace(NULL, NULL, "reload");
load_swaybars();
for (int i = 0; i < config->bars->length; ++i) { for (int i = 0; i < config->bars->length; ++i) {
struct bar_config *bar = config->bars->items[i]; struct bar_config *bar = config->bars->items[i];
for (int j = 0; j < bar_ids->length; ++j) { for (int j = 0; j < bar_ids->length; ++j) {