On Wed, Feb 09, 2005 at 12:17:23PM -0500, Ted Zlatanov wrote:
> - I was not expecting the sample configs to go in /etc/X11/ion3.
> Maybe this is a Debian thing,
There seldom is a /usr/etc/, which would be the logical place. Why
/etc/X11/ion3 is used instead of /etc/ion3 is a Debian thing, though.
> I wish it had a shell escape in the format specifiers
> o you could put the output of any program in it, something like
>
> %shell{uname -a}
>
> or something similar.
All the statubar monitors except date are actually in the separate
ion-statusd, for which new monitors can be written as Lua scripts
that are automatically loaded based on the statusbar template.
Here's a simple uname monitor script, statusd_uname.lua that can be
used by putting %uname in the template:
local f=io.popen("uname -a")
local l=f:read()
f:close()
statusd.inform("uname", l)
To monitor things that change over time, timers are needed as in the
provided scripts.
ion-statusd and mod_statusbar interaction is not yet complete, and
I will eventually add some way to pass parameters to statusd from
mod_statusbar config.
--
Tuomo