README 771 B

123456789101112131415161718
  1. So:
  2. 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().
  3. 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.
  4. 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.
  5. Must be defined:
  6. * Arg struct in modules/status.h
  7. * Layout layouts[] in config.h
  8. * set_status(char *) in config.h
  9. * update_arg(Arg *) in config.h
  10. Default layout:
  11. " down: (download kB/s) up: (upload kB/s) cpu: (cpu usage %) battery: (battery %) time: (current time) "