[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] [PATCH] devilspie replacement in only 250 lines of code
From:       clay.barnes () gmail ! com (Clay Barnes)
Date:       2006-03-03 1:09:53
Message-ID: 44079761.6020602 () gmail ! com
[Download RAW message or body]

Pawe? S?owik wrote:
> here's a patch that makes it possible to configure window
> startup state (iconified, undecorated etc.) based on window
> properties (class, title, name, icon name)
>
> I know that this can be done using devilspie, but devilspie
> introduces new dependencies, and what's the point of using a
> lightweight wm, if the system gets cluttered with some obscure
> libs? ;)
>
> the patch was developed using 3.2 source tarball, but it also
> applies to 3.3-rc2
> and I'm not really a C programmer, there might be some errors...
>
> configuration syntax:
> <match winprop="P" pattern="PATTERN">
> 	<desktop>DESKTOP</desktop>
> 	<x>INT</x>
> 	<y>INT</y>
> 	<w>INT</w>
> 	<h>INT</h>
> 	<shaded />
> 	<iconic />
> 	<skip_pager />
> 	<skip_taskbar />
> 	<fullscreen />
> 	<above />
> 	<below />
> 	<max_horz />
> 	<max_vert />
> 	<undecorated />
> </match>
> P is one of the characters: t i n c , to apply PATTERN against
> window title, icon title, window name or window class
> PATTERN is a glib Glob-style pattern (with '*' as wildcard and '?'
> as joker, sorry no regexps)
> DESKTOP is an integer or the string: all
>
> an example config file is attached, put it in
> ~/.config/openbox/winstate.xml
>
>   
Now /that's/ a nice addition. What are the chances that'll get 
integrated into OB for the next release?

--Clay


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic