Thanks, the tip good, I will check its source code. But I write my daemon, because I would like learning the daemon-programming. I am not a profi programmer, but I like programming. Long time ago I wrote a complete programming-language to the little C-64 computer, in "Assembler"...
Zoli 2013/6/27 Chris Down <ch...@regentmarkets.com> > Hello, > > On 27 June 2013 08:51, Viola Zoltán <violaz...@gmail.com> wrote: > > Hi, DWM users! I wrote a daemon to the DWM status bar! I send it in > > attachment. The program name "kajjam". Start it simple: ./kajjam > > > > Compile it with this command: > > > > g++ -funsigned-char -funsigned-bitfields -Wall -Wno-long-long -Wunused > > -Wextra -pedantic -lX11 kajjam.cpp -o kajjam > > > > How to stop it: kill its process. > > > > The "kajjam" print to the status bar in every 1 sec the upload and > download > > speed of the internet connection, and the current date and time. (The > name > > of the day of week in the hungarian abbreviation. It can simple changed > in > > the source code). > > I assume you've seen i3status[0]. > > 0: http://i3wm.org/i3status/ > >