[openbox] move all windows between two desktops

Łukasz Grabowski graboluk at gmail.com
Tue Nov 13 10:50:28 EST 2018


Thank you very very much, I can feel quality of my life has  increased
a notch.

Best,
Lukasz

On Tue, 13 Nov 2018 16:17:33 +0100
Mikael Magnusson <mikachu at gmail.com> wrote:

> 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>
> 
> 
> 



More information about the openbox mailing list