RE: [dev] dwm taskbar config

From: Wolf Tivy <wolf_AT_tivy.com>
Date: Wed, 23 Mar 2011 21:17:33 -0700

> "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
Received on Thu Mar 24 2011 - 05:17:33 CET

This archive was generated by hypermail 2.2.0 : Thu Mar 24 2011 - 05:24:02 CET