Re: FVWM: FvwmEvent v. FvwmAudio compat. mode

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 12 Nov 2002 07:36:20 +0000

On 12 Nov 2002 01:24:30 -0600, Norvell Spearman wrote:
>
> Thanks for answering so quickly.
>
> How much longer will FvwmAudio compatibility mode be available in
> FvwmEvent?

I don't know, probably until 3.0.0.

> Could I not append the sound directory to the FvwmEvent Cmd argument,
> for example:
>
> SetEnv SOUND_DIR /data/multimedia/sounds
> *FvwmEvent-Sound: Cmd "Exec exec esdplay $[SOUND_DIR]/$[1]"
> *FvwmEvent-Sound: add_window wiggle.wav
>
> Thanks much for your help.

It should be fairly trivial to change FvwmEvent to accept format specifier
(like %s) in Cmd. If it is not found in Cmd, then " %s" is added to it
just like it works now. Then something like this would work for you:

  *FvwmEvent-Sound: Cmd "Exec exec esdplay /data/multimedia/sounds/%s.wav"
  *FvwmEvent-Sound: add_window wiggle

I don't have a time to add this right now. Maybe someone else has.

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 Tue Nov 12 2002 - 01:37:32 GMT

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