Skip to content

Asynchronous, event based status monitor for dwm

License

Notifications You must be signed in to change notification settings

OortCloud42/kwstatus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kwstatus - asynchronous status monitor for dwm

Status monitor with instant updates based on internal events which should be more reliable and portable than external signaling like dwmblocks do.

Usage

-d enable dry mode which instead setting WM_NAME writes output to stdout

Configuration

See config.h and config.mk. For each module description refer to description in their source files in modules/ directory.

Dependencies

  • xcb
  • libpulse (for pulseaudio support, optional)
  • libmpdclient (for mpd support, optional)

To enable or disable modules, see config.mk.

Add module

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.

About

Asynchronous, event based status monitor for dwm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.6%
  • Makefile 4.4%