Re: [dev] Customizing string output

2014-11-09 Thread Wolfgang Corcoran-Mathe
Quoth Calvin Morrison on Sun, Nov 09 2014 16:36 -0500: I don't see the point of doing anything but this. Having this as a link in config.h could work no? #define OUTPUT printf("%s", load); then just call OUTPUT in your script This actually works very well. The simplest solution is usually the

Re: [dev] Customizing string output

2014-11-09 Thread Calvin Morrison
> Default example: > >printf("%s | %s | %s | %s", load, fs_usage, batt, time); > > Customized version: > >printf("%s | %s | %s", fs_usage, load, batt); I don't see the point of doing anything but this. Having this as a link in config.h could work no? #define OUTPUT printf("%s", load); th

[dev] Customizing string output

2014-11-09 Thread Wolfgang Corcoran-Mathe
Hello all, This is very much a noob question. I am working on a toy text-only system monitor, for piping to xsetroot, etc.; I wanted something like a minimal conky with all of the parser stuff replaced by a straightforward config.h file. Since all of the output is created by a single (at the mo