How could I swallow things like
xclock,trayand other stuff toFvwmButtons?Is
FvwmButtonsthe only option to swallow this type of things?How to swallow
FvwmWinListtoFvwmButtons?
- 3,339
- 8
- 29
- 51
1 Answers
I'm not a user of FvwmButtons -- I like a pretty minimal desktop with everything in pop-up menus -- but I can quote the man page ;)
Swallow [(flags)] hangon command
Causes FvwmButtons to execute command, and when a window with a name, class or resource matching hangon appears, it is captured and swallowed into this button. The hangon string may contain wildcard characters ('*') that match any substring [...] If no matching window is found, the "Exec" command creates one.
So I would assume that, e.g.,
Swallow xterm 'Exec xterm &'
Will do exactly that. It's a little ambiguous whether the command is always run, or just when hangon doesn't match any existing windows, but experimentation should solve that.
Keep in mind that X windows "names, classes, and resources" are not always obvious -- I'd hope that the match does include what you see in the title bar, but this may not be so straightforward. Enclosing the hangon string in wildcards (e.g. Swallow *xterm*) will probably help.
- 86,451
- 30
- 200
- 258