You are not logged in.

#1 2013-06-07 09:23:23

NIRz
Member
Registered: 2008-05-09
Posts: 24

Awesome WM: swapping tag clients between different monitors

I am using Awesome WM on a dual monitor setup and trying to achieve a specific behavior:

Lets say the monitors are A and B, each of them have the same 6 tags which are working independently.
Assuming the current tag on monitor A is tag 2, and the current tag on monitor B is tag 1, I would like to move all the clients from A-tag2 to B-tag1 and vice verse, effectively swapping the content (clients) of each of my monitors. (swapping only the active tags content)

I searched the Awesome Wiki and their API but couldn't find a piece of code for achieving this kind of behavior.

Any help would be much appreciated, Thanks.

Offline

#2 2013-06-07 09:34:04

EvanPurkhiser
Member
From: San Francisco
Registered: 2010-08-17
Posts: 225
Website

Re: Awesome WM: swapping tag clients between different monitors

I believe Awesome has a default keybinding that does (almost) what you want.

Pressing mod4+o will move the focused client to the other screen with "awful.client.movetoscreen". However this doesn't move _all_ clients from one screen to another.

Hopefully that's at least a starting point!

Last edited by EvanPurkhiser (2013-06-07 09:34:34)

Offline

#3 2013-06-07 11:01:36

NIRz
Member
Registered: 2008-05-09
Posts: 24

Re: Awesome WM: swapping tag clients between different monitors

Thanks, but I already know this keybinding. Still searching with no luck sad

Offline

Board footer

Powered by FluxBB