Re: FVWM: fvwm2rc question

From: Martin Cartwright <M.Cartwright_at_Queens-Belfast.AC.UK>
Date: Thu, 11 Sep 1997 04:25:13 +0100 (BST)

On Wed, 10 Sep 1997, Stephen Carville wrote:

->Is there any way to define a variable in the .fvwm2rc file that can be
->expanded at run time? Something like the #define directive in C? I
->would like to put in a line something like:
->
->#define START_ICON mini-x.xpm
->
->And have START_ICON replaced with mini-x.xpm every time it is
->encountered. This way I could define an icon once and have it used
->everytime. It would make changing the icon for a particular program
->much simpler too.
->

You should investigate the preprocessing modules FvwmCpp and FvwmM4.
But I don't see that this saves you much effortexcept in changing to a
better icon than mini-x.xpm for a group of programs. For a single
program it's much the same having to write START_ICON each time.

M.Cartwright_at_qub.ac.uk --- http://star.pst.qub.ac.uk/~imc/vom.htm
-/-------------------------------------------------------------\-
| "Alright! Let battle commence! Wine and ... |
| bananas! Bring on the dancing girls!" |
-\-------------------------------------------------------------/-


--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Sep 10 1997 - 22:26:03 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST