simple status monitor for dwm

oblivion 6cb4683766 separate files & cpu usage 6 days ago
modules 6cb4683766 separate files & cpu usage 6 days ago
.gitignore 6cb4683766 separate files & cpu usage 6 days ago
Makefile 6cb4683766 separate files & cpu usage 6 days ago
README 6cb4683766 separate files & cpu usage 6 days ago
config.def.h 6cb4683766 separate files & cpu usage 6 days ago
config.h 6cb4683766 separate files & cpu usage 6 days ago
status 6cb4683766 separate files & cpu usage 6 days ago
status.c 6cb4683766 separate files & cpu usage 6 days ago

README

So:

in short this is a program to concatenate the output of user-defined functions to a user-defined string layout and pass it to set_status().

Like everything else set_status() is user-defined, so you could print the string to stdout, ooor set X root window name using Xlib.h.

For building your config.h there is a simple template in config.def.h. If you're lazy, my personal config is in config.h all you need to do is replace the network devices and batteries with your own.

Must be defined:
* Arg struct in modules/status.h
* Layout layouts[] in config.h
* set_status(char *) in config.h
* update_arg(Arg *) in config.h

Default layout:

" down: (download kB/s) up: (upload kB/s) cpu: (cpu usage %) battery: (battery %) time: (current time) "