*FvwmDocker: (1x1, Icon audacious.png, ActionOnPress, Action(Mouse 1) `FuncDockLaunch audacious2 Audacious $left $top`, Action(Mouse 4) Exec amixer -q sset Master 1+ unmute, Action(Mouse 5) Exec amixer -q sset Master 1- unmute)
FvwmButtons: (options) [title icon command]
Specifies the contents of a button in the buttonbox. The following options, separated by commas or whitespace, can be given a button:
Specifies the size and position of the button within the FvwmButtons window or container. The geometry is a standard X11 window geometry specification. The button is width times the normal button width and height times the normal button height. If values for x and y are given, the button is placed x (y) button units from the left (top) of the container if x (y) is positive and x (y) units from the right (bottom) if x (y) is negative. Buttons with position arguments (x and y) are placed before those without them. If two or more buttons are forced to overlap by this, FvwmButtons exits with an error message.
Action [(options)] command
Specifies an fvwm command to be executed when the button is activated by pressing return or a mouse button. The command needs to be quoted if it contains a comma or a closing parenthesis.
The current options of the Action are: Mouse n - this action is only executed for mouse button n. One action can be defined for each mouse button, in addition to the general action.
In the command part, you can use a number of predefined variables: $left, $right, $top and $bottom are substituted by the left, right, top and bottom coordinates of the button pressed. $-left, $-right, $-top and $-bottom are substituted likewise, but the coordinates are calculated from the bottom or the right edge of the screen instead (for a button that is 5 pixels away from the right screen border, $-right will be 5). $width and $height are replaced by the width or height of the button. The variables $fg and $bg are replaced with the name of the foreground or background color set with the Back or Fore option (see below). All this is done regardless of any quoting characters. To get a literal '$' use the string '$$'.
*FvwmButtons: (Title xload, Action (Mouse 1) \
`Exec exec xload -fg $fg -bg $bg -geometry -3000-3000`)