]> Dogcows Code - chaz/openbox/blobdiff - data/rc3
make interactive actions a type and not special cases.
[chaz/openbox] / data / rc3
index 01c9525ec156d4e6f5afa9dac20b1941a91c4369..1b553fa7a9006ca6cceb68b080b4bf0c66d70ca9 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
-
-# shows a helpful dialog while cycling focus
-#cyclingDialog = yes
-
-[desktops]
-
-# The number of virtual desktops to use
-#number = 4
-
-# A list of names for the desktops
-names = ("one" "two" "three" "four")
-
-[moveresize]
-
-# When true windows are moved opaquely, when false just an outline is shown
-# while they are moved
-#opaque_move = yes
-
-# When true windows are resized opaquely, when false just an outline is shown
-# while they are resized
-#opaque_resize = yes
-
-[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-Middle 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-Middle Lower
-
-mbind  Titlebar        Press           Left    Focus
-mbind  Handle          Press           Left    Focus
-mbind  BLCorner        Press           Left    Focus
-mbind  BRCorner        Press           Left    Focus
-mbind  Maximize        Press           Left    Focus
-mbind  Maximize        Press           Middle  Focus
-mbind  Maximize        Press           Right   Focus
-mbind  Iconify         Press           Left    Focus
-mbind  Icon            Press           Left    Focus
-mbind  Close           Press           Left    Focus
-mbind  AllDesktops     Press           Left    Focus
-mbind  Shade           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           Right   ShowMenu "root"
+<?xml version="1.0"?>
+
+<!-- Do not edit this file, it will be overwritten on install. Copy the file
+     to $HOME/.openbox/ instead. -->
+
+<openbox_config>
+
+<resistance>
+  <strength>10</strength>
+  <screen_edge_strength>10</screen_edge_strength>
+</resistance>
+
+<placement>
+  <remember>yes</remember>
+</placement>
+
+<focus>
+  <focusNew>yes</focusNew>
+  <followMouse>no</followMouse>
+  <focusLast>yes</focusLast>
+  <focusLastOnDesktop>yes</focusLastOnDesktop>
+</focus>
+
+<theme>
+  <theme>operation</theme>
+  <titlelayout>NLIMC</titlelayout>
+</theme>
+
+<desktops>
+  <number>4</number>
+  <names>
+    <name>one</name>
+    <name>two</name>
+    <name>three</name>
+    <name>four</name>
+  </names>
+</desktops>
+
+<resize>
+  <drawContents>yes</drawContents>
+</resize>
+
+<dock>
+  <position>topleft</position>
+  <stacking>top</stacking>
+  <direction>vertical</direction>
+  <floatingX>0</floatingX>
+  <floatingY>0</floatingY>
+  <autoHide>no</autoHide>
+  <hideTimeout>300</hideTimeout>
+</dock>
+
+<keyboard>
+  <chainQuitKey>C-g</chainQuitKey>
+
+  <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="desktopnext"/>
+    </mousebind>
+    <mousebind button="A-Down" action="click">
+      <action name="desktopprevious"/>
+    </mousebind>
+    <mousebind button="C-A-Up" action="click">
+      <action name="sendtodesktopnext"/>
+    </mousebind>
+    <mousebind button="C-A-Down" action="click">
+      <action name="sendtodesktopprevious"/>
+    </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="tlcorner">
+    <mousebind button="Left" action="drag">
+      <action name="resize"/>
+    </mousebind>
+    <mousebind button="Left" action="press">
+      <action name="focus"/>
+    </mousebind>
+  </context>
+  <context name="trcorner">
+    <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="desktop">
+    <mousebind button="Up" action="click">
+      <action name="desktopnext"><interactive>no</interactive></action>
+    </mousebind>
+    <mousebind button="Down" action="click">
+      <action name="desktopprevious"><interactive>no</interactive></action>
+    </mousebind>
+    <mousebind button="A-Up" action="click">
+      <action name="desktopnext"/>
+    </mousebind>
+    <mousebind button="A-Down" action="click">
+      <action name="desktopprevious"/>
+    </mousebind>
+    <mousebind button="Middle" action="press">
+      <action name="showmenu"><menu>client-list-menu</menu></action>
+    </mousebind> 
+    <mousebind button="Right" action="press">
+      <action name="showmenu">
+        <menu>root-menu</menu>
+      </action>
+    </mousebind>
+  </context>
+</mouse>
+
+<menu>
+  <!-- You can specify more than one menu file in here and they are all loaded,
+       just don't make menu ids clash or, well, it'll be kind of pointless -->
+
+  <!-- debian menu file -->
+  <file>/etc/X11/openbox/openbox-menu</file>
+
+  <!-- default menu file (or custom one in $HOME/.openbox/) -->
+  <file>menu</file>
+</menu>
+
+</openbox_config>
This page took 0.030352 seconds and 4 git commands to generate.