Hi all,
I had a go at attempting to implement if-elsif-else-endif syntax for
FVWM so I can do things like this in my .fvwm2rc file:
(Much more intuitive/maintainable than using PipeRead.)
if xdpyinfo | /bin/grep -q XINERAMA
Echo "dual head system!"
Xinerama on
XineramaPr
Hi all,
Someone recently asked me about the status of if-syntax in Fvwm. This
inspired me to readdress an earlier patch I wrote (which was somewhat
limited in scope & a bit buggy) to identify the issues & hack up a robust
implementation.
This new patch:
- ensures there are no race conditions b/w
Hi all,
An updated version of my if-syntax patch that applies cleanly against
current CVS is available at:
http://members.optusnet.com.au/scottsmedley/fvwm/if.20060609.patch
Example usage:
http://members.optusnet.com.au/scottsmedley/fvwm/if.example
All feedback welcome.
SCoTT. :)
Hi there,
On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote:
> Further examples are available at:
>
> http://users.tpg.com.au/users/scottie7/tmp/config.if
>
> ...
>
> Any comments/criticism most welcome.
Sorry Scott for the delay. A couple of days ago I had some
problems accessing http://
Hi Uwe, :)
> I would mostly use it for statemente like
>
> AddToMenu my_menu
> if ! ShellCmd /opt/myprogram
> + "My Program menu" Menu my_program_menu
> endif
>
> This should be possible.?
Yup, it works no problem.
SCoTT. :)
--
Visit the official FVWM web page at http://www.fvwm.org/>.
To uns
On 01 Feb 2005 12:41:25 +0100, Uwe Pross wrote:
>
> On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote:
>
> > Further examples are available at:
> >
> > http://users.tpg.com.au/users/scottie7/tmp/config.if
> >
> > ...
> >
> > Any comments/criticism most welcome.
>
> AddToMenu my_menu
> if
On Wed, Feb 02, 2005 at 06:42:19PM +, Mikhael Goikhman wrote:
> On 01 Feb 2005 12:41:25 +0100, Uwe Pross wrote:
> >
> > On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote:
> >
> > > Further examples are available at:
> > >
> > > http://users.tpg.com.au/users/scottie7/tmp/config.if
> > >