Good evening,
ilf wrote:
> On 06-20 10:43, Stefan Mark wrote:
>> But i think think this is a better solution:
>> http://dwm.suckless.org/dwmstatus/
>
> Unfortunately, this promise is not kept:
>
>> This page will give you a barebone dwmstatus project and show examples on
>> how to extend it to your needs.
actually, dwmstatus was intended to be such a unification or an
example, how it could be done. The example source, that is hosted
there includes all the needs I had for my statusbar, so I lost
interest in developing the wiki site a bit further.
Dwmstatus is currently using a rather expensive implementation,
that is using malloc() for all parts of the status string and then
prints them together. I found this to be the most modular way for
such a code. Of course a static buffer could be used.
The wiki page should rather read »This is an example for a status
bar C application. It shows a barebone, how to construct it. For
stopping the doubling of work, to find out how to gather various
system information in the statusbar, please add your code right on
this wiki page. See [wiki] for how to edit this wiki.«
So you are free to change the wiki page or add further simple
examples to collect system information in C.
Sincerely,
Christoph Lohmann
Received on Mon Jun 20 2011 - 20:09:15 CEST
This archive was generated by hypermail 2.2.0 : Mon Jun 20 2011 - 20:12:03 CEST