summaryrefslogtreecommitdiff
path: root/data/rc.xml
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2010-01-11 13:42:50 -0500
committerDana Jansens <danakj@orodu.net>2010-01-11 13:42:50 -0500
commit91af4d5bc9e04b766735aaa3ac098233ba103959 (patch)
treeed9bff5f878eeeac6c3cd9844b0d9c54214ff614 /data/rc.xml
parentb8e994e837d260860a4dc0a1ee3a680e2cdfc75a (diff)
Add _OB_VERSION and _OB_APP_ROLE/CLASS/NAME/TYPE
Add _OB_VERSION property on the root window. Change _OB_ROLE/CLASS/NAME to _OB_APP_*. Add _OB_APP_TYPE which has a string for the type chosen for the window on mapping by Openbox. Adjust the rc.xml to match these changes.
Diffstat (limited to 'data/rc.xml')
-rw-r--r--data/rc.xml15
1 files changed, 7 insertions, 8 deletions
diff --git a/data/rc.xml b/data/rc.xml
index c89625dd..a576ca60 100644
--- a/data/rc.xml
+++ b/data/rc.xml
@@ -653,14 +653,13 @@
# this is an example with comments through out. use these to make your
# own rules, but without the comments of course.
- <application name="the window's _OB_NAME property (see obxprop)"
- class="the window's _OB_CLASS property (see obxprop)"
- role="the window's _OB_ROLE property (see obxprop)"
- type="the window's _NET_WM_WINDOW_TYPE (see obxprob)..
+ <application name="the window's _OB_APP_NAME property (see obxprop)"
+ class="the window's _OB_APP_CLASS property (see obxprop)"
+ role="the window's _OB_APP_ROLE property (see obxprop)"
+ type="the window's _OB_APP_TYPE property (see obxprob)..
(if unspecified, then it is 'dialog' for child windows)">
- # the name or the class can be set, or both. this is used to match
- # windows when they appear. role can optionally be set as well, to
- # further restrict your matches.
+ # you may set only one of name/class/role/type, or you may use more than one
+ # together to restrict your matches.
# the name, class, and role use simple wildcard matching such as those
# used by a shell. you can use * to match any characters and ? to match
@@ -673,7 +672,7 @@
# order that they appear in this list
- # each element can be left out or set to 'default' to specify to not
+ # each rule element can be left out or set to 'default' to specify to not
# change that attribute of the window
<decor>yes</decor>