What kind of animation do you mean? I think the icons sink when you click on them. If you want to do something like the boucing in Mac OS X then I think I’ll have to tell you that’s not possible, at least not natively with fvwm. Engage can do that though. Some other taskbars might be able to provide that kinds of effects too.
There might be some effects you could script on it though, but I wouldn’t know how to start on that, but I do know they are somewhat limited seen from the point of the extreme eydcandy lover™…
I’m new to fvwm, and I’m trying to make a starterbar (i use one of the example at zensites.net/fvwm/guide/adva … ttons.html ) that starts the applications only if they are not started yet, otherwise it should raise the window application…
I changed “Exec exec” with a function found in a greek lug “ToggleApp”
I All ($0) Raise
I TestRc (NoMatch) Exec exec $0
but it works only with gaim and xmms.
It doesn’t work with mozilla, mozilla -mail and Eterm (with a lot of arguments)
how can I solve this?
I think the wrong line is
I All ($0) Raise
but I don’t know how to identify the right window…
Wow! that is pretty impressive! Where ever did you find such a gem. I wonder if it consumes a lot of computer resources though. I know one of the complaints about some of the various starterbar/launcher thingys is that it consumes a lot.
Never the less, a good Fvwmer always needs eye-candy. Even if it is wasteful.
the problem is, that the name of the executable is not the name|resource|class of the window, so your match doesn’t work.
run “Module FvwmIdent” in FvwmConsole to identify the window and supply a second param to ToggleApp which matches the window name|resource|class.
they are searched in this order: resource, class, name
then test for All ($1) Raise otherwise Exec $0.
this should work
thanks! So I’ve got to preventively know the name/resource/class of the window…
another question: I would like to use arsen’s dock (it looks better for my goal) but if i change “Exec exec xyz” with “ToggleApp xyz” or “Function ToggleApp xyz” (with or without any type of quote) it doesn’t work… why???