JorenHeit
JorenHeit

Reputation: 3997

Awesome WM: Rearrange windows without changing layout

I'm entirely new to Awesome and Lua, but what I would like to achieve is to cycle through different arrangements of my windows within the same window-layout. Maybe I didn't use the correct search terms, but a simple Google search didn't yield anything helpful, and I don't want to take the time to study the Lua API to do it myself from scratch.

Say I have 3 tiles arranged like this in some arbitrary order:

+------+-------+
|      |       |
|      |       |
+------+       |
|      |       |
|      |       |
+------+-------+

Now I want to easily make the window that I'm focussing on appear in the big right-hand tile without cycling through all the different layouts using Super-Space.

Any thoughts on how to achieve this?

Upvotes: 4

Views: 3734

Answers (3)

FantomX1
FantomX1

Reputation: 1711

You could as well use a mod4/super key with a shift key plus k to advance backward with a selected window on a viewport, and mod4+shift+j to advance forward with a selected window on the viewport.

Upvotes: 1

user3469333
user3469333

Reputation:

Despite tiling wm does not imply mouse using, it still work. You can simply drag and drop window on wanted place when holding Mod4 key.

Upvotes: 3

EvenLisle
EvenLisle

Reputation: 4812

If I'm understanding your question correctly, you want the focused window to become the master window - correct? If so, you may want to have a look here: http://awesome.naquadah.org/wiki/Awesome_3.x#Window_manager_control. It says Mod4+control+return swaps focused client with master - which, as far as I can tell, is what you want to achieve (Mod4 is the super key).

Upvotes: 5

Related Questions