ebik | 2 Jan 22:37
Picon

Re: Rezise window to fixed size.

On Fri, 31 Dec 2010 07:09:22 -0800 (PST)
£ukasz <blurrpp@...> wrote:

> 
> --- On Thu, 12/30/10, ebik <ebik@...> wrote:
> 
> > From: ebik <ebik@...>
> > Subject: Re: Saving/restore session
> > To: ion-general@...
> > Date: Thursday, December 30, 2010, 8:20 PM
> > On Thu, 30 Dec 2010 07:55:43 -0800
> > (PST)
> > £ukasz <blurrpp@...>
> > wrote:
> > 
> > > But i have another question. I'm using ion2/pwm2 and i
> > want to resize
> > > actual window to some fixed sizes (maximize_vert and
> > > maximize_horiz_works only as they explicit say
> > MAXIMALY ) i used
> > > request_geom(WRegion,size_table) but i have probelm
> > with gettin
> > > current WRegion ( i read cerfully all manual and
> > couldnt find
> > > function like WRegion WRegion.current() which would
> > gave me handle to
> > > current region),s ohow to get it and maybe there is
> > another way to
> > > fixed resize .
> > > 
(Continue reading)

£ukasz | 3 Jan 02:41
Picon
Favicon

Re: Rezise window to fixed size.

  
> I think that it should read:
> WMoveresMode.rqgeom(_,{x=10,y=10,w=100,h=100})
> (Not sure about the syntax right now, but the table has
> named entries.)
> 
> Second "R" should be pressed also with META in your
> example.
> 
> The triggered error probably wrote something to ion's
> stderr. I keep
> ion's stdout and stderr explicitly to ~/.xsession-errors,
> so I can check
> ion's output in case of bad bindings, kludges or other
> errors, that
> occur in "safe environment" -- being triggered by some
> event.
> 

Thanks again, yep for sure should be META+R, but problem was in {x=10,y=10,w=100,h=100} now works fine.

Regards Lukas

£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