diff options
Diffstat (limited to 'data')
| -rw-r--r-- | data/rc.xml | 77 | ||||
| -rw-r--r-- | data/rc.xsd | 3 | ||||
| -rw-r--r-- | data/xsession/openbox-kde-session.in | 3 |
3 files changed, 65 insertions, 18 deletions
diff --git a/data/rc.xml b/data/rc.xml index a576ca60..ecc22bb9 100644 --- a/data/rc.xml +++ b/data/rc.xml @@ -98,7 +98,16 @@ <slant>normal</slant> <!-- 'italic' or 'normal' --> </font> - <font place="OnScreenDisplay"> + <font place="ActiveOnScreenDisplay"> + <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="InactiveOnScreenDisplay"> <name>sans</name> <size>9</size> <!-- font size in points --> @@ -266,6 +275,28 @@ </action> </keybind> + <!-- Keybindings for window switching with the arrow keys --> + <keybind key="W-S-Right"> + <action name="DirectionalCycleWindows"> + <direction>right</direction> + </action> + </keybind> + <keybind key="W-S-Left"> + <action name="DirectionalCycleWindows"> + <direction>left</direction> + </action> + </keybind> + <keybind key="W-S-Up"> + <action name="DirectionalCycleWindows"> + <direction>up</direction> + </action> + </keybind> + <keybind key="W-S-Down"> + <action name="DirectionalCycleWindows"> + <direction>down</direction> + </action> + </keybind> + <!-- Keybindings for running applications --> <keybind key="W-e"> <action name="Execute"> @@ -354,14 +385,24 @@ </mousebind> <mousebind button="Up" action="Click"> - <action name="Shade"/> - <action name="FocusToBottom"/> - <action name="Unfocus"/> - <action name="Lower"/> + <action name="if"> + <shaded>no</shaded> + <then> + <action name="Shade"/> + <action name="FocusToBottom"/> + <action name="Unfocus"/> + <action name="Lower"/> + </then> + </action> </mousebind> <mousebind button="Down" action="Click"> - <action name="Unshade"/> - <action name="Raise"/> + <action name="if"> + <shaded>yes</shaded> + <then> + <action name="Unshade"/> + <action name="Raise"/> + </then> + </action> </mousebind> <mousebind button="Right" action="Press"> @@ -565,23 +606,23 @@ </context> <context name="Desktop"> - <mousebind button="Up" action="Press"> + <mousebind button="Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="Down" action="Press"> + <mousebind button="Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="A-Up" action="Press"> + <mousebind button="A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="A-Down" action="Press"> + <mousebind button="A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="C-A-Up" action="Press"> + <mousebind button="C-A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="C-A-Down" action="Press"> + <mousebind button="C-A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> @@ -606,16 +647,16 @@ </context> <context name="MoveResize"> - <mousebind button="Up" action="Press"> + <mousebind button="Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="Down" action="Press"> + <mousebind button="Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> - <mousebind button="A-Up" action="Press"> + <mousebind button="A-Up" action="Click"> <action name="GoToDesktop"><to>previous</to></action> </mousebind> - <mousebind button="A-Down" action="Press"> + <mousebind button="A-Down" action="Click"> <action name="GoToDesktop"><to>next</to></action> </mousebind> </context> @@ -652,6 +693,8 @@ <!-- # this is an example with comments through out. use these to make your # own rules, but without the comments of course. + # you may use one or more of the name/class/role/type rules to specify + # windows to match <application name="the window's _OB_APP_NAME property (see obxprop)" class="the window's _OB_APP_CLASS property (see obxprop)" diff --git a/data/rc.xsd b/data/rc.xsd index 499b81c9..6d2ed1dd 100644 --- a/data/rc.xsd +++ b/data/rc.xsd @@ -61,6 +61,7 @@ <xsd:element minOccurs="0" name="underMouse" type="ob:bool"/> <xsd:element minOccurs="0" name="focusDelay" type="xsd:integer"/> <xsd:element minOccurs="0" name="raiseOnFocus" type="ob:bool"/> + <xsd:element minOccurs="0" name="unfocusOnLeave" type="ob:bool"/> </xsd:all> </xsd:complexType> <xsd:complexType name="placement"> @@ -218,7 +219,7 @@ <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="applicationIcons" type="ob:bool"/> + <xsd:element minOccurs="0" name="showIcons" type="ob:bool"/> <xsd:element minOccurs="0" name="manageDesktops" type="ob:bool"/> </xsd:sequence> </xsd:complexType> diff --git a/data/xsession/openbox-kde-session.in b/data/xsession/openbox-kde-session.in index 5299b045..14e35043 100644 --- a/data/xsession/openbox-kde-session.in +++ b/data/xsession/openbox-kde-session.in @@ -7,6 +7,9 @@ if test -n "$1"; then exit fi +# Set the prefix for the menu layout to use +export XDG_MENU_PREFIX="kde-" + # Clean up after GDM xprop -root -remove _NET_NUMBER_OF_DESKTOPS \ -remove _NET_DESKTOP_NAMES \ |
