£ukasz | 3 Jan 19:24
Picon
Favicon

1)Moving tagged windows to current WS. 2) Rearange WS's

Hi ,
its me again :). Let say that i tagged few windows on some workspaces, i moved to another one and i want all
tagged windows moved here. Simple function which do it is 

local function tagged_move(group)
   local region=WMPlex.attach_new(group,{type="WGroupWS",name="name",...})
   ioncore.tagged_attach(region)
end

it works ok when destination ws is empty, problems appears when its not. I think the nice way to do it woild be
by using 'ioncore.tagged_first(true)' or 'ioncore.tagged_i()' but first one some how doesnt want to
return tagged region. Im sure that there is some extremely simple solution for it so if somebody knows it 
pls help.

My second question is if it's possible to rearange WS and how to do it?. Till now i havent had enough time to
think about it but it wold be nice possibility

Best Regards
Lukas

ebik | 4 Jan 15:32
Picon

Re: 1)Moving tagged windows to current WS. 2) Rearange WS's

On Mon, 3 Jan 2011 10:24:19 -0800 (PST)
£ukasz <blurrpp@...> wrote:

> Hi ,
> its me again :). Let say that i tagged few windows on some
> workspaces, i moved to another one and i want all tagged windows
> moved here. Simple function which do it is 
> 
> 
> local function tagged_move(group)
>    local
> region=WMPlex.attach_new(group,{type="WGroupWS",name="name",...})
> ioncore.tagged_attach(region) end
> 
> it works ok when destination ws is empty, problems appears when its
> not. I think the nice way to do it woild be by using
> 'ioncore.tagged_first(true)' or 'ioncore.tagged_i()' but first one
> some how doesnt want to return tagged region. Im sure that there is
> some extremely simple solution for it so if somebody knows it  pls
> help.

Umm, what should be the result? I tag few windows and then attach them
into one frame (as many "tabs") into selected frame just by
ioncore.tagged_attach(that_frame). There is context menu entry for this
in ion3plus (it should be in ion3 as well). I do not use floating
windows, thus I cannot imagine what result you want.

> My second question is if it's possible to rearange WS and how to do
> it?. Till now i havent had enough time to think about it but it wold
> be nice possibility
(Continue reading)

£ukasz | 4 Jan 21:57
Picon
Favicon

Re: 1)Moving tagged windows to current WS. 2) Rearange WS's

> > Hi ,
> > its me again :). Let say that i tagged few windows on
> some
> > workspaces, i moved to another one and i want all
> tagged windows
> > moved here. Simple function which do it is 
> > 
> > 
> > local function tagged_move(group)
> >    local
> >
> region=WMPlex.attach_new(group,{type="WGroupWS",name="name",...})
> > ioncore.tagged_attach(region) end
> > 
> > it works ok when destination ws is empty, problems
> appears when its
> > not. I think the nice way to do it woild be by using
> > 'ioncore.tagged_first(true)' or 'ioncore.tagged_i()'
> but first one
> > some how doesnt want to return tagged region. Im sure
> that there is
> > some extremely simple solution for it so if somebody
> knows it  pls
> > help.
> 
> Umm, what should be the result? I tag few windows and then
> attach them
> into one frame (as many "tabs") into selected frame just
> by
> ioncore.tagged_attach(that_frame). There is context menu
(Continue reading)


Gmane