Re: Correct format for two-windows window-matcher



Am Dienstag, den 13.10.2009, 08:01 -0500 schrieb Jeremy Hankins:
> Teika Kazura <teika lavabit com> writes:
> 
> > 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 )
> 
> The only way I know to set both is to set the match-window-profile
> variable directly.  I have this in my .sawfishrc before any calls to
> add-window-matcher:
> 
> (setq match-window-profile
>       '((((WM_CLASS . "^XTerm/xterm$")
>           (WM_NAME . "^shell$"))
>          (maximized . vertical)
>          (frame-type . normal))
>         (((WM_CLASS . "^Gajim.py/gajim.py$")
>           (WM_NAME . "^Gajim$"))
>          (iconified . t)
>          (position . center))))
> 

match-window-profile ... didn't knew that one before.

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



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