Re: FVWM: defining variables for fvwm and conditional statements

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Wed, 20 Nov 2002 11:49:26 +0000

On 19 Nov 2002 15:30:02 -0500, Rick Jones wrote:
>
> I've been looking through the fvwm documentation and
> have had difficulty finding this issue. For example,
> I would like fvwm to change the menus and environment
> based on time of day and other input..
>
> How would I implement this.. ??

What you want is scheduling events, not conditional statements.

You may add this command to your .fvwm2rc:

  AddToFunc StartFunction I Module FvwmCommandS

Then setup crontab to run FvwmCommand with any commands at any day time
you want. This is mostly a unix problem, not FVWM's. Although developement
versions do have a new command Schedule that may or may not help you.
It is more intended for short delays (several seconds), not several hours.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Nov 20 2002 - 12:29:30 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST