[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] NextWindow with custom final action
From:       akorop () gmail ! com (Alexey Korop)
Date:       2016-02-24 12:18:33
Message-ID: 56CD9F99.6010009 () gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic