mirror of
https://github.com/mintycube/dwmblocks.git
synced 2024-10-22 12:05:47 +00:00
Poll every 100ms
This commit is contained in:
parent
6ba4ffbcfb
commit
c050132065
4
main.c
4
main.c
@ -197,6 +197,10 @@ void statusLoop() {
|
||||
}
|
||||
if (eventCount)
|
||||
writeStatus();
|
||||
|
||||
// Poll every 100ms
|
||||
struct timespec toSleep = {0, 100000L};
|
||||
nanosleep(&toSleep, &toSleep);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user