]> Dogcows Code - chaz/openbox/blobdiff - data/rc3
add a mwm.h for the mwm hint structure and flags.
[chaz/openbox] / data / rc3
index b1d3aa6e4df8240424b0755aadf478c6e254486c..9dc8db8f3d3c91b2d09ab9b4455f570814af2e57 100644 (file)
--- a/data/rc3
+++ b/data/rc3
-[resistance]
-
-# amount of resistance to provide at edges
-#strength=10
-
-# resistance against other windows
-#windows=true
-
-[placement]
-
-# place windows where they were last
-#remember = yes
-
-[focus]
-
-# focus new windows when they appear
-#focusNew = yes
-
-# does focus follow the mouse pointer when it enters a window
-#followMouse = no
-
-# when no windows are left with focus, focus the last window on the desktop
-# to previously have focus
-#focusLast = yes
-
-# a special case of focusLast that applies when switching between desktops; if
-# set, the previously focused window on the desktop is focused when switching
-#focusLastOnDesktop = yes
-
-[desktops]
-
-# The number of virtual desktops to use
-#number = 4
-
-# A list of names for the desktops
-names = ("one" "two" "three" "four")
-
-[theme]
-
-# the theme to display
-#theme = "operation"
-
-[keyboard]
-
-#kbind (Key [Key...])  Action  [Parameter]
-
-kbind (F12)            execute "xterm"
-
-kbind (A-Left)         PreviousDesktopWrap
-kbind (A-Right)                NextDesktopWrap
-
-kbind (A-1)            Desktop 1
-kbind (A-2)            Desktop 2
-kbind (A-3)            Desktop 3
-kbind (A-4)            Desktop 4
-
-kbind (C-A-1)          SendToDesktop 1
-kbind (C-A-2)          SendToDesktop 2
-kbind (C-A-3)          SendToDesktop 3
-kbind (C-A-4)          SendToDesktop 4
-
-kbind (C-S-x x)                ToggleMaximizeFull
-kbind (C-S-x Up)       ToggleMaximizeVert
-kbind (C-S-x Right)    ToggleMaximizeHorz
-
-kbind (C-A-Left)       MoveRelativeHorz -3
-kbind (C-A-Right)      MoveRelativeHorz  3
-kbind (C-A-Up)         MoveRelativeVert -3
-kbind (C-A-Down)       MoveRelativeVert  3
-
-kbind (A-F4)           Close
-
-kbind (W-D)            ToggleDecorations
-
-kbind (A-Tab)           NextWindow
-kbind (S-A-Tab)         PreviousWindow
-
-[mouse]
-
-# the distance a drag must go before it is recognized
-#dragThreshold = 3
-
-# the amount of time in milliseconds in which two clicks must occur to cause a
-# doubleclick event
-#doubleClickTime = 200
-
-#mbind Context         Event           Button  Action [Parameter]
-
-mbind  Titlebar        Drag            Left    Move
-mbind  Handle          Drag            Left    Move
-mbind  Frame           Drag            A-Left  Move
-
-mbind  BLCorner        Drag            Left    Resize
-mbind  BRCorner        Drag            Left    Resize
-mbind  Frame           Drag            A-Right Resize
-
-mbind  Titlebar        Click           Left    Raise
-mbind  Titlebar        Press           Middle  Lower
-mbind  Handle          Click           Left    Raise
-mbind  Handle          Press           Middle  Lower
-mbind  Frame           Click           A-Left  Raise
-mbind  Frame           Click           A-Right Lower
-
-mbind  Titlebar        Press           Left    Focus
-mbind  Handle          Press           Left    Focus
-mbind  BLCorner        Press           Left    Focus
-mbind  BRCorner        Press           Left    Focus
-mbind  Client          Press           Left    FocusRaise
-mbind  Client          Press           Middle  Focus
-mbind  Client          Press           Right   Focus
-mbind  Frame           Press           A-Left  Focus
-
-mbind  Titlebar        DoubleClick     Left    ToggleShade
-mbind  Titlebar        Click           Up      Shade
-mbind  Titlebar        Click           Down    UnShade
-
-mbind  Maximize        Click           Left    ToggleMaximizeFull
-mbind  Maximize        Click           Middle  ToggleMaximizeVert
-mbind  Maximize        Click           Right   ToggleMaximizeHorz
-mbind  Iconify         Click           Left    Iconify
-mbind  Icon            DoubleClick     Left    Close
-mbind  Close           Click           Left    Close
-mbind  Close           Click           Middle  Kill
-mbind  AllDesktops     Click           Left    ToggleOmnipresent
-mbind  Shade           Click           Left    ToggleShade
-
-mbind  Root            Click           Up      NextDesktopWrap
-mbind  Root            Click           Down    PreviousDesktopWrap
-mbind  Root            Click           A-Up    NextDesktopWrap
-mbind  Root            Click           A-Down  PreviousDesktopWrap
-mbind  Frame           Click           A-Up    NextDesktopWrap
-mbind  Frame           Click           A-Down  PreviousDesktopWrap
-mbind  Frame           Click           C-A-Up  SendToNextDesktopWrap
-mbind  Frame           Click           C-A-Down SendToPreviousDesktopWrap
-
-mbind  Root            Click           Left    execute "xterm"
+<?xml version="1.0"?>
+
+<!-- Do not edit this file, it will be overwritten on install. Edit the file
+     in $HOME/.openbox/ instead. -->
+
+<openbox_config>
+
+<resistance>
+  <strength>10</strength>
+  <windows>yes</windows>
+</resistance>
+
+<placement>
+  <remember>yes</remember>
+</placement>
+
+<focus>
+  <focusNew>yes</focusNew>
+  <followMouse>no</followMouse>
+  <focusLast>yes</focusLast>
+  <focusLastOnDesktop>yes</focusLastOnDesktop>
+  <cyclingDialog>yes</cyclingDialog>
+</focus>
+
+<theme>
+  <theme>operation</theme>
+</theme>
+
+<desktops>
+  <number>4</number>
+  <names>
+    <name>one</name>
+    <name>two</name>
+    <name>three</name>
+    <name>four</name>
+  </names>
+</desktops>
+
+<moveresize>
+  <opaqueMove>yes</opaqueMove>
+  <opaqueResize>yes</opaqueResize>
+</moveresize>
+
+<dock>
+  <position>topleft</position>
+  <stacking>top</stacking>
+  <direction>vertical</direction>
+  <floatingX>0</floatingX>
+  <floatingY>0</floatingY>
+  <autoHide>no</autoHide>
+  <hideTimeout>300</hideTimeout>
+</dock>
+
+<keyboard>
+  <keybind key="A-F10">
+    <action name="MaximizeFull"></action>
+  </keybind>
+  <keybind key="A-F5">
+    <action name="UnmaximizeFull"></action>
+  </keybind>
+  <keybind key="A-F12">
+    <action name="ToggleShade"></action>
+  </keybind>
+  <keybind key="C-A-Left">
+    <action name="DesktopLeft"></action>
+  </keybind>
+  <keybind key="C-A-Right">
+    <action name="DesktopRight"></action>
+  </keybind>
+  <keybind key="C-A-Up">
+    <action name="DesktopUp"></action>
+  </keybind>
+  <keybind key="C-A-Down">
+    <action name="DesktopDown"></action>
+  </keybind>
+  <keybind key="S-A-Left">
+    <action name="SendToDesktopLeft"></action>
+  </keybind>
+  <keybind key="S-A-Right">
+    <action name="SendToDesktopRight"></action>
+  </keybind>
+  <keybind key="S-A-Up">
+    <action name="SendToDesktopUp"></action>
+  </keybind>
+  <keybind key="S-A-Down">
+    <action name="SendToDesktopDown"></action>
+  </keybind>
+  <keybind key="C-A-d">
+    <action name="ToggleShowDesktop"></action>
+  </keybind>
+  <keybind key="A-F4">
+    <action name="Close"></action>
+  </keybind>
+  <keybind key="A-Tab">
+    <action name="NextWindow"></action>
+  </keybind>
+  <keybind key="A-S-Tab">
+    <action name="PreviousWindow"></action>
+  </keybind>
+  <keybind key="A-F7">
+    <action name="KeyboardMove"></action>
+  </keybind>
+  <keybind key="A-F8">
+    <action name="KeyboardResize"></action>
+  </keybind>
+  <keybind key="A-F9">
+    <action name="Iconify"></action>
+  </keybind>
+</keyboard>
+
+<mouse>
+  <dragThreshold>3</dragThreshold>
+  <doubleClickTime>200</doubleClickTime>
+
+  <context name="frame">
+    <mousebind button="A-Left" action="drag">
+      <action name="move"/>
+    </mousebind>
+    <mousebind button="A-Left" action="click">
+      <action name="raise"/>
+    </mousebind>
+    <mousebind button="A-Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="A-Middle" action="drag">
+      <action name="resize"/>
+    </mousebind> 
+    <mousebind button="A-Middle" action="click">
+      <action name="lower"/>
+    </mousebind>
+    <mousebind button="A-Right" action="press">
+      <action name="showmenu"><menu>client-menu</menu></action>
+    </mousebind>
+    <mousebind button="A-Up" action="click">
+      <action name="desktopright"/>
+    </mousebind>
+    <mousebind button="A-Down" action="click">
+      <action name="desktopleft"/>
+    </mousebind>
+    <mousebind button="C-A-Up" action="click">
+      <action name="sendtodesktopright"/>
+    </mousebind>
+    <mousebind button="C-A-Down" action="click">
+      <action name="sendtodesktopleft"/>
+    </mousebind>
+  </context>
+  <context name="titlebar">
+    <mousebind button="Left" action="drag">
+      <action name="move"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="raise"/>
+    </mousebind>
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="doubleclick">
+      <action name="toggleshade"/>
+    </mousebind>
+    <mousebind button="Middle" action="press">
+      <action name="lower"/>
+    </mousebind>
+    <mousebind button="Up" action="click">
+      <action name="shade"/>
+    </mousebind>
+    <mousebind button="Down" action="click">
+      <action name="unshade"/>
+    </mousebind>
+    <mousebind button="Right" action="press">
+      <action name="showmenu"><menu>client-menu</menu></action>
+    </mousebind>
+  </context>
+  <context name="handle">
+    <mousebind button="Left" action="drag">
+      <action name="move"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="raise"/>
+    </mousebind>
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Middle" action="press">
+      <action name="lower"/>
+    </mousebind>
+  </context>
+  <context name="blcorner">
+    <mousebind button="Left" action="drag">
+      <action name="resize"/>
+    </mousebind>
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+  </context>
+  <context name="brcorner">
+    <mousebind button="Left" action="drag">
+      <action name="resize"/>
+    </mousebind>
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+  </context>
+  <context name="client">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+      <action name="raise"/>
+    </mousebind>
+    <mousebind button="Middle" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Right" action="press">
+      <action name="focus"/>
+    </mousebind>
+  </context>
+  <context name="icon">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Right" action="press">
+      <action name="showmenu"><menu>client-menu</menu></action>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="showmenu"><menu>client-menu</menu></action>
+    </mousebind>
+    <mousebind button="Left" action="doubleclick">
+      <action name="close"/>
+    </mousebind>
+  </context>
+  <context name="alldesktops">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="toggleomnipresent"/>
+    </mousebind>
+  </context>
+  <context name="shade">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="toggleshade"/>
+    </mousebind>
+  </context>
+  <context name="iconify">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="iconify"/>
+    </mousebind>
+  </context>
+  <context name="maximize">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Middle" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Right" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="togglemaximizefull"/>
+    </mousebind>
+    <mousebind button="Middle" action="click">
+      <action name="togglemaximizevert"/>
+    </mousebind>
+    <mousebind button="Right" action="click">
+      <action name="togglemaximizehorz"/>
+    </mousebind>
+  </context>
+  <context name="close">
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+    <mousebind button="Left" action="click">
+      <action name="close"/>
+    </mousebind>
+  </context>
+  <context name="root">
+    <mousebind button="Up" action="click">
+      <action name="desktopright"/>
+    </mousebind>
+    <mousebind button="Down" action="click">
+      <action name="desktopleft"/>
+    </mousebind>
+    <mousebind button="A-Up" action="click">
+      <action name="desktopright"/>
+    </mousebind>
+    <mousebind button="A-Down" action="click">
+      <action name="desktopleft"/>
+    </mousebind>
+    <mousebind button="Right" action="press">
+      <action name="showmenu"><menu>root</menu></action>
+    </mousebind>
+  </context>
+</mouse>
+
+<menu id="root" label="Openbox 3">
+  <menu id="apps" label="Applications">
+    <item label="Xterm">
+      <action name="execute"><execute>xterm</execute></action>
+    </item>
+    <item label="Mozilla">
+      <action name="execute"><execute>mozilla</execute></action>
+    </item>
+    <item label="Gaim">
+      <action name="execute"><execute>gaim</execute></action>
+    </item>
+    <item label="Quark">
+      <action name="execute"><execute>strange-quark</execute></action>
+    </item>
+  </menu>
+  <menu id="games" label="Games">
+    <item label="Crack-Attack">
+      <action name="execute"><execute>crack-attack</execute></action>
+    </item>
+    <item label="XFRisk">
+      <action name="execute"><execute>xfrisk</execute></action>
+    </item>
+    <item label="Quake III">
+      <action name="execute"><execute>quake3</execute></action>
+    </item>
+  </menu>
+  <item label="--" /> <!-- separator -->
+  <item label="Restart">
+    <action name="restart" />
+  </item>
+  <item label="Exit">
+    <action name="exit" />
+  </item>
+</menu>
+
+</openbox_config>
This page took 0.028689 seconds and 4 git commands to generate.