Re: Correct format for two-windows window-matcher



Am Dienstag, den 13.10.2009, 18:30 +0200 schrieb Christopher Roy
Bratusek:
> Am Dienstag, den 13.10.2009, 12:26 -0400 schrieb Nathan Froyd:
> > On Tue, Oct 13, 2009 at 12:23 PM, Christopher Roy Bratusek
> > <zanghar freenet de> wrote:
> > > Well I've figured out a better thing for my purpose:
> > >
> > > ( define ( add-screenlets-matcher wm-name pos)
> > >  ( add-window-matcher 'WM_NAME wm-name
> > >       '( position . pos )
> > >       '( fixed-position . t )
> > >       '( sticky . t )
> > >       '( sticky-viewport . t )
> > >       '( cycle-skip . t )
> > >       '( depth . -2 )
> > >       '( never-maximize . t )
> > >       '( never-iconify . t ) ) )
> > >
> > > except that I'm not sure how to pass pos, as neither
> > >
> > > ( add-screenlets-matcher "FolderViewScreenlet.py" "south-west" )
> > >
> > > or
> > >
> > > ( add-screenlets-matcher "FolderViewScreenlet.py" 'south-west )
> > 
> > Maybe that's because you need to use `(position . ,pos) ?
> 
> I've already tried ,pos and ',pos none of both are working.
> 
> ... bad argument: #<subr move-window-to>, backquote-unquote, 2
> 
> `( position instead of '( position (as you did) also doesn't really help

ahhh, ok. 'south-west instead of "south-west" does work (as Jeremy said)

Thanks a lot you two.
Chris

> > -Nathan
> > 
> 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]