I use tint2 and would like to call a thumbnail function when it minimizes a window. Is this possible? If not is my only alternative making a taskbar through FVWM so that it has the functionality I want?
Edit - Unfortunately it looks like I can’t use FvwmEvent because by the time FVWM tells the module the window is iconified there isn’t a screen to take a snapshot of, so I guess it’s time to use something besides tint2.
So FVWM will detect that some other application iconified (or whatever else) a program? Neat!
I’m also trying to cycle through status windows by having FVWM close them then open up another one w/ different information. The problem is that since I have it close the window the function also closes the instance of the program I’m using. What can I put between these two commands so that FVWM doesn’t also close the new instance of the program I’m trying to launch?
[code]+ I All (name) Close
I None (name) Exec name -different -options[/code]
I have some functions to launch the same program with different options. When I’m starting one I would like the function to kill whatever instance is already running before starting the program up with different options, however if I use Close it appears to kill both the existing program w/ whatever options and the new instance w/ different options I’m trying to run. What can I add to that function so that it kills the existing version, then runs the new version? I suppose I could just give each version w/ different options a different name and kill all the other versions when launching a specific one, but isn’t there something in fvwm like bash where I could run “killall program ; program -options” and have the old instance killed and a new one run w/o having to give everything a different name?
Previous doesn’t close “monitor” for some reason. I probably will give everything a different name, but it seems kinda kludgy. I would think I could use something like PipeRead or FvwmCommand but either those won’t work or I’m not using them properly.
Yesterday I was misusing fvwm (again) and I needed it to do things one after another. Couple of tests showed that [code]+ I This
I That[/code] would be executed in seemingly random order, so I just wrapped the function into a bash script and then called it from my config. Barbaric yet did exactly what I wanted.