Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-31 Thread Thomas Adam
On Mon, Oct 31, 2011 at 12:33:00AM +, Harry portobello wrote: > hullo, > > 2011/10/30 Thomas Adam : > > On Sun, Oct 30, 2011 at 08:09:52PM +, Harry portobello wrote: > >> How do i do this with FvwmEvent? Thanks.. > > > > Something like: > > > >    DestroyFunc CountWindow > >    AddToFunc  

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-30 Thread Michael Großer
> 2011/10/30 Thomas Adam : >>`echo SetEnv WindowCount ((WindowCount + 1))` Nice to see that there is an alternative way to perform calculations without the use of bc. This idea could eliminate a dependency of my FVWM scripts ;-)

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-30 Thread Harry portobello
hullo, 2011/10/30 Thomas Adam : > On Sun, Oct 30, 2011 at 08:09:52PM +, Harry portobello wrote: >> How do i do this with FvwmEvent? Thanks.. > > Something like: > >    DestroyFunc CountWindow >    AddToFunc   CountWindow >    + I SetEnv WindowCount 0 >    + I All ($[w.class], !Transient) PipeR

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-30 Thread Thomas Adam
On Sun, Oct 30, 2011 at 08:09:52PM +, Harry portobello wrote: > How do i do this with FvwmEvent? Thanks.. Something like: DestroyFunc CountWindow AddToFunc CountWindow + I SetEnv WindowCount 0 + I All ($[w.class], !Transient) PipeRead \ `echo SetEnv WindowCount (

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-30 Thread Harry portobello
2011/10/29 Thomas Adam : > On Sat, Oct 29, 2011 at 10:38:36PM +0200, Michael Großer wrote: >> Thomas Adam wrote: >> > On Sat, Oct 29, 2011 at 12:37:04PM +0100, Harry portobello wrote: >> >> hullo, >> >> >> >> On 19 October 2011 18:51, elliot s wrote: >> >> > Version 2.6.3: >> >> > Previous version

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-29 Thread Thomas Adam
On Sat, Oct 29, 2011 at 10:38:36PM +0200, Michael Großer wrote: > Thomas Adam wrote: > > On Sat, Oct 29, 2011 at 12:37:04PM +0100, Harry portobello wrote: > >> hullo, > >> > >> On 19 October 2011 18:51, elliot s wrote: > >> > Version 2.6.3: > >> > Previous versions only added the "(%t)" when ther

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-29 Thread Michael Großer
Thomas Adam wrote: > On Sat, Oct 29, 2011 at 12:37:04PM +0100, Harry portobello wrote: >> hullo, >> >> On 19 October 2011 18:51, elliot s wrote: >> > Version 2.6.3: >> > Previous versions only added the "(%t)" when there was a repeated name. >> > The new code always adds it. >> > I worked around

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-29 Thread Thomas Adam
On Sat, Oct 29, 2011 at 12:37:04PM +0100, Harry portobello wrote: > hullo, > > On 19 October 2011 18:51, elliot s wrote: > > Version 2.6.3: > > Previous versions only added the "(%t)" when there was a repeated name. > > The new code always adds it. > > I worked around the %t in add_window.c by ch

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-29 Thread Harry portobello
hullo, On 19 October 2011 18:51, elliot s wrote: > Version 2.6.3: > Previous versions only added the "(%t)" when there was a repeated name. > The new code always adds it. > I worked around the %t in add_window.c by checking if count was > non-zero, tho that wouldnt kill the parens, which i change

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-23 Thread Harry portobello
On 20 October 2011 09:13, Thomas Adam wrote: > On Wed, Oct 19, 2011 at 10:51:59AM -0700, elliot s wrote: >> Version 2.6.3: >> Previous versions only added the "(%t)" when there was a repeated name. >> The new code always adds it. > > This is not a bug, but rather very much by deliberate design.  T

Re: FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-20 Thread Thomas Adam
On Wed, Oct 19, 2011 at 10:51:59AM -0700, elliot s wrote: > Version 2.6.3: > Previous versions only added the "(%t)" when there was a repeated name. > The new code always adds it. This is not a bug, but rather very much by deliberate design. The old logic tried to do this before but failed, and w

FVWM: (Icon)TitleFormat doesnt quite work like IndexedWindowName for one window

2011-10-19 Thread elliot s
Version 2.6.3: Previous versions only added the "(%t)" when there was a repeated name. The new code always adds it. I worked around the %t in add_window.c by checking if count was non-zero, tho that wouldnt kill the parens, which i changed to a space in my fvwmrc.