[openbox] NextWindow with custom final action

Alexey Korop akorop at gmail.com
Wed Feb 24 07:18:33 EST 2016


Dana Jansens wrote 24.02.2016 10:31:
> http://openbox.org/wiki/Help:Actions#NextWindow
> The finalactions tag.

Thank You! And I'm sorry for what I self did not read it.

With this I implement unhiding to the current desktop:

    <keybind key="W-Up">
      <action name="PreviousWindow">
        <allDesktops>yes</allDesktops>
        <finalactions>
          <action name="If">
            <query target="default">
              <iconified> yes </iconified>
            </query>
            <then>
              <action name="SendToDesktop"><to>current</to></action>
            </then>
          </action>
          <action name="Focus"/>
          <action name="Raise"/>
          <action name="Unshade"/>
        </finalactions>
      </action>
    </keybind>


>>     In the NextWindow (PreviousWindow) dialog is there a way to specify
>>     custom final action in addition or instead of Activate?  For example
>>     Activate and Move to the current desktop.

-- 
Yours truly Alexey


More information about the openbox mailing list