>  "like this in your .xinitrc:
> 
>     while true
>     do
>         xsetroot -name "`date` `uptime | sed 's/.*,//'`"
>         sleep 1
>     done &
>     exec dwm

That's what you want, put that wherever your DM expects it.
This thread is a train wreck of confusion, ignore everything but that
script.

As for putting exec in loops, it destroys the whole process.
exec is the goto or tail recursion of shell scripts. In this case,
you can safely not use the exec, it's just a quick hack to save one
process.

> I wish there would be a good howto about this stuff, so that regular users
> could benefit from it.

dwm isn't really for regular users; it's for competent hackers. No howto
necessary;
you'll know what you need to do when you learn shell scripting and
figure out what
scripts are getting called to set up your X session (usually one of:
.xinitrc, .xsession,
dwm.desktop, etc).

Good luck!

/wolf


Reply via email to