Thank you!

I actually found out a more general way to do it based on the
"move_current.lua" script that moves a window in current frame to
another frame in a specified direction, only I swap the windows inside
them instead.

2009/9/2 Ole Jørgen Brønner <olejorg...@yahoo.no>:
> On Wed, 02 Sep 2009 15:06:18 +0200, Oskar Nordquist
> <oskar.nordqu...@gmail.com> wrote:
>
>> Hi,
>>
>> When flipping using WTiling.flip_at(), frames are flipped. I'd like to
>> have a similar functionality when the frames are intact, but the
>> active windows/clients inside are flipped to each ones frame. Is this
>> possible?
>>
>> Regards,
>> Oskar
>
> I thought I wanted this some time ago so I wrote some utility functions
> to do it. (attached) It's very crude though. Only for left/right and it
> pretty much assumes only one horizontal split I think.
>
> I never really used it much so I haven't bothered to improve it.
>
> As you can see from the code it's pretty trival to do.
> (it's only swap_lr and swap that's important)

Attachment: swap_current.lua
Description: Binary data

Reply via email to