Hello.

I am looking for a way of doing arithmetic in the configuration
file of Fvwm, in order to position windows in the task bar I am
trying to setup.

Searching old messages, I have found an indication that the
FvwmPerl module could do what I want. It had been suggested to do
put the following in the configuration file:

==========================================================
AddToFunc StartFunction
+ I Module FvwmPerl

DestroyFunc .
AddToFunc .
+ I SendToModule FvwmPerl preprocess -c -- $*
==========================================================

The . function would preprocess its argument prior
to delivering it to Fvwm.

When I try the following

. Echo %{ $[vp.width] - 100 }%

in FvwmConsolde, it does work and I get 

[FVWM][Echo]: 1300

as the output.

But if I put that command in my configuration file, it
does not work when I restart Fvwm.

Any clues?

Romildo
-- 
Prof. Jos� Romildo Malaquias        [EMAIL PROTECTED]
Departamento de Computa��o       [EMAIL PROTECTED]
Univ. Federal de Ouro Preto  http://uber.com.br/romildo
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to