On Sat, Sep 13, 2014 at 09:14:03AM +0100, Dominik Vogt wrote:
> For testing pusposes I need to get an overwiev of what types of
> commands people use in fvwm. Could everybody please look through
> their configuration files and post any commands:
My own lines:
#define CLOSE CloseAnimated
+ D CLOSE
Cpp macro expansion
+ I None ($$0, CirculateHit) $$1
In a function called with "Foo <windowname> '<command>'" uses
<windowname> in the condition and executes <command> after
removing the quotes
+ I Exec $1
Similar to above.
+ I PipeRead 'cd $HOME/.fvwm2/backgrounds; /bin/ls *.bg.* | sed -e
\"s#\\(.*\\)\\(\\.bg\\..*\\)#+ \\\\&\\1%$HOME/.mvwm/backgrounds/\\1.thumb.png%
Function SetDefaultBackground \\1\\2\:\\1.thumb.png#\"'
Complex quoting
AddToFunc MakePaletteMenu
+ I DestroyMenu PaletteMenu
+ I AddToMenu PaletteMenu `Palettes [ MVWMPALETTE]` Title
+ I + `show current palette` FvwmButtons ColourTable
+ I + "" Nop
+ I AddToMenu PaletteMenu
+ I PipeRead 'cd $HOME/.fvwm2/palettes; /bin/ls *.pal | sed -e
\"s:\\(.*\\)\\(\\.pal\\):+ \\\\&\\1 Function SetPalette \\1\\2:\"'
Menu definition inside a complex function
Read .fvwm2rc.$[screen]
> 3) Fvwm allows to start modules without using the "Module" command,
> e.g. with just "FvwmButtons" instead of "Module FvwmButtons".
> Do you use this? Did you know that's possible?
No, yes.
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt