Status monitor with instant updates based on internal events which should be more reliable and portable than external signaling like dwmblocks do.
-d
enable dry mode which instead setting WM_NAME writes output to stdout
See config.h and config.mk. For each module description refer to description in their source files in modules/ directory.
- xcb
- libpulse (for pulseaudio support, optional)
- libmpdclient (for mpd support, optional)
To enable or disable modules, see config.mk.
First thing to know is that every module have its own thread. And if your modules returns from its function it is not going to be run again. But previous set text is still going to be displayed unchanged.
To create module: copy modules/template.c to modules/module_name.c and change in this file function name name to module_name then add module_name to modules.h and add modules/module_name.c to Makefile. To update displayed string on status bar use function mod_update.