FVWM: Conditionals in fvwm functions

From: Piotr Zgorecki <balboa_at_14.pl>
Date: Sat, 3 Jan 2004 13:41:52 +0100

Hi,

I want to achieve something like this (in pseudocode):

if $HOSTNAME == "host1" then
        Exec Command1
else
        Exec Command2
fi

Unfortunately, I can't find in the manpage any command for conditional
execution, which would test environment variables.

Do I really have to resort to a preprocessor?

Thanks,
Piotr Zgorecki
--
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 Sat Jan 03 2004 - 06:44:53 GMT

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