mirror of
https://github.com/mintycube/dwmblocks.git
synced 2024-10-22 14:05:47 +02:00
Update README and config.h
This commit is contained in:
parent
0471144a2e
commit
589d320b2e
@ -44,7 +44,7 @@ What's even better is that you can externally trigger updation of any specific b
|
||||
## Why `dwmblocks-async`?
|
||||
Everything I have mentioned till now is offered by the vanilla `dwmblocks`, which is fine for most users. What sets `dwmblocks-async` apart from vanilla `dwmblocks` is the 'async' part. `dwmblocks` executes the commands of each blocks sequentially which means that the mail and date blocks, from above example, would be executed one after the other. This means that the date block won't update unless the mail block is done executing, or vice versa. This is bad for scenarios where one of the blocks takes seconds to execute, and is clearly visible when you first start `dwmblocks`.
|
||||
|
||||
This is where the `dwmblocks-async` steps in tells the computer to execute each block asynchronously or simultaneously.
|
||||
This is where the async nature of `dwmblocks-async` steps in tells the computer to execute each block asynchronously or simultaneously.
|
||||
|
||||
|
||||
## Installation
|
||||
|
4
config.h
4
config.h
@ -9,8 +9,8 @@ const Block blocks[] = {
|
||||
BLOCK("sb-memory", 10, 20),
|
||||
BLOCK("sb-loadavg", 5, 21),
|
||||
BLOCK("sb-mic", 0, 26),
|
||||
BLOCK("sb-record", 0, 27),
|
||||
BLOCK("sb-volume", 0, 22),
|
||||
BLOCK("sb-battery", 5, 23),
|
||||
BLOCK("sb-date", 1, 24),
|
||||
// BLOCK("sb-network", 5, 25),
|
||||
BLOCK("sb-date", 1, 24)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user