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

List:       openbox
Subject:    [openbox] =?utf-8?q?Move_all_windows_to_other_desktop_=E2=80=93_r?=
From:       mjiricka () gmail ! com (=?UTF-8?B?TWFydGluIEppxZlpxI1rYQ==?=)
Date:       2017-02-15 12:22:38
Message-ID: CA+i+VCdew70n5_xGgvG-0Gw29SKF5oBSgDjuTdGc71K-JCdQ-A () mail ! gmail ! com
[Download RAW message or body]

Thank you Mikael. This moves all windows in current desktop to the last desktop:

  <keybind key="W-C-S-j">
    <action name="ForEach">
      <omnipresent>no</omnipresent>
      <then>
        <action name="if">
          <desktop>current</desktop>
          <then>
            <action name="SendToDesktop">
              <to>last</to>
              <follow>no</follow>
            </action>
          </then>
        </action>
      </then>
    </action>
  </keybind>

Different approach, but it is usable. And better suited for swapping
which did not even came to my mind.

Anyway I was looking into source code to see how hard would be to
implement MoveDesktop action. I did not give it enough time but am I
right that biggest problem would be to remember all windows in
selection? It looks like every action is triggered by one key and not
like "key down: select windows, some actions, key up: release the
selection".

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

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