mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(workspaces): add thread sleep
This commit is contained in:
parent
bc1c362c06
commit
e5b5be3b37
@ -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));
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user