diff --git a/src/modules/workspaces.cpp b/src/modules/workspaces.cpp index c8904952..ee8c8748 100644 --- a/src/modules/workspaces.cpp +++ b/src/modules/workspaces.cpp @@ -13,6 +13,7 @@ waybar::modules::WorkspaceSelector::WorkspaceSelector(Bar &bar) ipc_single_command(_ipcEventSocketfd, IPC_SUBSCRIBE, subscribe, &len); _thread = [this] { update(); + _thread.sleep_for(chrono::milliseconds(250)); }; }