Re: Correct format for two-windows window-matcher
- From: Teika Kazura <teika lavabit com>
- To: sawfish-list gnome org
- Subject: Re: Correct format for two-windows window-matcher
- Date: Tue, 13 Oct 2009 17:27:34 +0900 (JST)
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 ) ; ...
)
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]