Re: Correct format for two-windows window-matcher



Am Dienstag, den 13.10.2009, 17:27 +0900 schrieb Teika Kazura:
> Hi.
> 
> On Sun, 11 Oct 2009 11:30:53 +0200, Christopher Roy Bratusek wrote:
> > I tried that:
> > 
> > ( add-window-matcher 'WM_NAME "FolderViewScreenlet.py"
> >                      'WM_NAME "VolumeControlScreenlet.py"
> >        '( sticky . t )
> >         [...]
> >        '( never-iconify . t ) )
> > 
> > I wonder if this is correct, I guess not (getting a `bad closure' on the
> > FolderViewScreenlet),
> > 
> > So, what is the correct syntax for this?
> 
> Pretty simple:
> ( add-window-matcher 'WM_NAME "FolderViewScreenlet.py"
>        '( sticky . t ) ;; ...
>        )
> ( add-window-matcher 'WM_NAME "VolumeControlScreenlet.py"
>        '( sticky . t ) ; ...
>        )

I know about that, but that is what I *don't* want, as I set everything
(except the position the same for all screenlets, this would make my
SawfishRC blow up.

> Or, you can use regex to combine them.
> I couldn't figure out how to specify both name and class.
> 
> ;; This doesn't work:
> (add-window-matcher 'WM_NAME "FolderViewScreenlet.py"
> 		    '( WM_CLASS . "someclass")
> 		    '( sticky . t )
> 
> Teika (Teika kazura)
> 
> 

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



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