[openbox] move all windows between two desktops
Mikael Magnusson
mikachu at gmail.com
Tue Nov 13 10:17:33 EST 2018
On 11/13/18, Ćukasz Grabowski <graboluk at gmail.com> wrote:
> Hello,
>
> my desktop 1 is web browser, email and some adhoc stuff, the other ones
> are fairly task-focussed.
>
> Because of the way I have my shortcuts configured, it's most convenient
> when the task I'm currently working on is on desktop 2. So is there a
> nice way to move all windows from desktop 3 to desktop 2 and all
> windows from desktop 2 to desktop 3 at the same time?
>
> Best,
> Lukasz
<item label="Swap windows with previous desktop">
<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>
<else>
<action name="If">
<desktop>last</desktop>
<then>
<action name="SendToDesktop">
<to>current</to>
<follow>no</follow>
</action>
</then>
</action>
</else>
</action>
</then>
</action>
</item>
--
Mikael Magnusson
More information about the openbox
mailing list