On Sun, Jun 25, 2006 at 03:22:57AM +1000, Scott Smedley wrote:
> Why use a module for something so simple?
> 
> AddToFunc MyPeriodicFunc
> + I PipeRead 'echo SendToModule FvwmButtons ChangeButton clock Title $(date 
> +"%R  %a %d.%m.")'
> + I PipeRead 'str=$(/bin/ps -A --format "%C %P %c" | sort -n -r | tail -n1) ; 
> echo SendToModule FvwmButtons ChangeButton topproc Title "$str"'
> + I Schedule 15000 MyPeriodicFunc
> 
> Schedule 3000 MyPeriodicFunc
> 

It would be great if something like this worked (I would use this all
the time ;), but sadly a module is the only option as the `Schedule`
will never execute if the server is grabbed, rather than delaying
until the grab has been released.

(see execute_complex_function())

Tavis.

-- 
-------------------------------------
[EMAIL PROTECTED] | finger me for my pgp key.
-------------------------------------------------------

Attachment: pgpxRmwVZvHVY.pgp
Description: PGP signature

Reply via email to