Help:Actions

From Openbox

(Difference between revisions)
Jump to: navigation, search
(New page: Actions are used to specify the behavior of Openbox. Actions are used in both keyboard and mouse bindings. = Actions = As discussed in the [[Help:Bindings|keyboard and ...)

Revision as of 23:17, 3 June 2007

Actions are used to specify the behavior of Openbox. Actions are used in both keyboard and mouse bindings.

Actions

As discussed in the keyboard and mouse bindings guide, actions are used inside these bindings. You can put more than one action in a row in any binding to have it perform more than one action.

Here are a couple examples of actions, with and without parameters:

<keybind key="A-Tab">
  <action name="NextWindow"/>
</keybind>
<keybind key="A-S-Tab">
  <action name="PreviousWindow"/>
</keybind>
<keybind key="C-A-Tab">
  <action name="NextWindow">
    <panels>yes</panels><desktop>yes</desktop>
  </action>
</keybind>

Syntax

The full syntax for an action is:

<action name="NAME">PARAMETERS</action>

If you are not setting any parameters, you can use this (but don't forget the trailing "/" !):

<action name="NAME" />
Personal tools