diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/rc.xml.in | 67 | ||||
| -rw-r--r-- | data/rc.xsd | 14 |
2 files changed, 62 insertions, 19 deletions
diff --git a/data/rc.xml.in b/data/rc.xml.in index be2b806d..45e144a3 100644 --- a/data/rc.xml.in +++ b/data/rc.xml.in @@ -47,32 +47,47 @@ <font place="ActiveWindow"> <name>sans</name> <size>7</size> + <!-- font size in points --> <weight>bold</weight> + <!-- 'bold' or 'normal' --> <slant>normal</slant> + <!-- 'italic' or 'normal' --> </font> <font place="InactiveWindow"> <name>sans</name> <size>7</size> + <!-- font size in points --> <weight>bold</weight> + <!-- 'bold' or 'normal' --> <slant>normal</slant> + <!-- 'italic' or 'normal' --> </font> <font place="MenuHeader"> <name>sans</name> <size>8</size> + <!-- font size in points --> <weight>bold</weight> + <!-- 'bold' or 'normal' --> <slant>normal</slant> + <!-- 'italic' or 'normal' --> </font> <font place="MenuItem"> <name>sans</name> <size>9</size> + <!-- font size in points --> <weight>bold</weight> + <!-- 'bold' or 'normal' --> <slant>normal</slant> + <!-- 'italic' or 'normal' --> </font> <font place="OnScreenDisplay"> <name>sans</name> <size>9</size> + <!-- font size in points --> <weight>bold</weight> + <!-- 'bold' or 'normal' --> <slant>normal</slant> + <!-- 'italic' or 'normal' --> </font> </theme> @@ -408,38 +423,68 @@ <!-- default menu file (or custom one in $HOME/.config/openbox/) --> <file>menu.xml</file> - <warpPointer>yes</warpPointer> - <xorStyle>yes</xorStyle> <hideDelay>250</hideDelay> <middle>no</middle> <submenuShowDelay>0</submenuShowDelay> - <desktopMenuIcons>yes</desktopMenuIcons> - <!-- --> + <applicationIcons>yes</applicationIcons> </menu> +<!-- this section is commented out.. remove this and the ending comment if you + want to use it --> <applications> -<!-- - <application name="this application does not exist"> + <!-- the name or the class can be set, or both. this is used to match + windows when they appear + + role can optionally be set, and only as much as you provide will be + checked to see if it matches, eg. if you set role="abc" and the window's + role is actually "abcde" it would match. + --> + <application name="first element of window's WM_CLASS property (see xprop)" + class="second element of window's WM_CLASS property (see xprop)" + role="the window's WM_WINDOW_ROLE property (see xprop)"> + + <!-- each element can be left out or set to 'default' to specify to not + change that attribute of the window --> + <decor>yes</decor> + <shade>no</shade> + <position> + <!-- the position is only used if both an x and y coordinate are provided + (and not set to 'default') --> <x>center</x> + <!-- a number or 'center' to center on screen --> <y>200</y> + <!-- a number or 'center' to center on screen --> + <head>0</head> + <!-- specifies the xinerama head, 'mouse' for wherever the mouse is --> </position> + <focus>yes</focus> + <!-- if the window should try be given focus when it appears --> + <desktop>1</desktop> - <head>0</head> - # specifies xinerama head + <!-- 0 is the first desktop, 'all' for all desktops --> + <layer>normal</layer> - # 'above', 'normal', or 'below' + <!-- 'above', 'normal', or 'below' --> + <iconic>no</iconic> + <skip_pager>no</skip_pager> + <!-- asks to not be shown in pagers --> + <skip_taskbar>no</skip_taskbar> + <!-- asks to not be shown in taskbars. window cycling actions will also + skip past such windows --> + <fullscreen>yes</fullscreen> + <maximized>true</maximized> - # 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) + <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) --> </application> - --> </applications> + --> </openbox_config> diff --git a/data/rc.xsd b/data/rc.xsd index 01fd525c..d3df567d 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -199,24 +199,22 @@ </xsd:complexType> <xsd:complexType name="menu"> <xsd:element maxOccurs="unbounded" name="file" type="xsd:string"/> - <xsd:element minOccurs="0" name="warpPointer" type="ob:bool"/> - <xsd:element minOccurs="0" name="xorStyle" type="ob:bool"/> <xsd:element minOccurs="0" name="hideDelay" type="xsd:integer"/> <xsd:element minOccurs="0" name="middle" type="ob:bool"/> <xsd:element minOccurs="0" name="submenuShowDelay" type="xsd:integer"/> - <xsd:element minOccurs="0" name="desktopMenuIcons" type="ob:bool"/> + <xsd:element minOccurs="0" name="applicationIcons" type="ob:bool"/> </xsd:complexType> <xsd:complexType name="window_position"> <xsd:element name="x" type="ob:center_or_int"/> <xsd:element name="y" type="ob:center_or_int"/> + <xsd:element minOccurs="0" name="head" type="xsd:string"/> </xsd:complexType> <xsd:complexType name="application"> - <xsd:element minOccurs="0" name="decor" type="xsd:string"/> + <xsd:element minOccurs="0" name="decor" type="xsd:bool"/> <xsd:element minOccurs="0" name="shade" type="ob:bool"/> <xsd:element minOccurs="0" name="position" type="ob:window_position"/> <xsd:element minOccurs="0" name="focus" type="xsd:string"/> <xsd:element minOccurs="0" name="desktop" type="xsd:integer"/> - <xsd:element minOccurs="0" name="head" type="xsd:string"/> <xsd:element minOccurs="0" name="layer" type="ob:layer"/> <xsd:element minOccurs="0" name="iconic" type="ob:bool"/> <xsd:element minOccurs="0" name="skip_pager" type="ob:bool"/> @@ -434,9 +432,9 @@ </xsd:simpleType> <xsd:simpleType name="layer"> <xsd:restriction base="xsd:string"> - <xsd:enumeration value="above"/> - <xsd:enumeration value="normal"/> - <xsd:enumeration value="below"/> + <xsd:enumeration value="Above"/> + <xsd:enumeration value="Normal"/> + <xsd:enumeration value="Below"/> </xsd:restriction> </xsd:simpleType> <xsd:simpleType name="maximization"> |
