add a leftHanded option for mouse bindings, reverses the left/right keywords
[mikachu/openbox.git] / data / rc3
1 <?xml version="1.0"?>
2
3 <!-- Do not edit this file, it will be overwritten on install. Edit the file
4      in $HOME/.openbox/ instead. -->
5
6 <openbox_config>
7
8 <resistance>
9   <strength>10</strength>
10   <windows>yes</windows>
11 </resistance>
12
13 <placement>
14   <remember>yes</remember>
15 </placement>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <followMouse>no</followMouse>
20   <focusLast>yes</focusLast>
21   <focusLastOnDesktop>yes</focusLastOnDesktop>
22   <cyclingDialog>yes</cyclingDialog>
23 </focus>
24
25 <theme>
26   <theme>operation</theme>
27 </theme>
28
29 <desktops>
30   <number>4</number>
31   <names>
32     <name>one</name>
33     <name>two</name>
34     <name>three</name>
35     <name>four</name>
36   </names>
37 </desktops>
38
39 <moveresize>
40   <opaqueMove>yes</opaqueMove>
41   <opaqueResize>yes</opaqueResize>
42 </moveresize>
43
44 <dock>
45   <position>topleft</position>
46   <stacking>top</stacking>
47   <direction>vertical</direction>
48   <floatingX>0</floatingX>
49   <floatingY>0</floatingY>
50   <autoHide>no</autoHide>
51   <hideTimeout>300</hideTimeout>
52 </dock>
53
54 <keyboard>
55   <keybind key="A-F10">
56     <action name="MaximizeFull"></action>
57   </keybind>
58   <keybind key="A-F5">
59     <action name="UnmaximizeFull"></action>
60   </keybind>
61   <keybind key="A-F12">
62     <action name="ToggleShade"></action>
63   </keybind>
64   <keybind key="C-A-Left">
65     <action name="DesktopLeft"></action>
66   </keybind>
67   <keybind key="C-A-Right">
68     <action name="DesktopRight"></action>
69   </keybind>
70   <keybind key="C-A-Up">
71     <action name="DesktopUp"></action>
72   </keybind>
73   <keybind key="C-A-Down">
74     <action name="DesktopDown"></action>
75   </keybind>
76   <keybind key="S-A-Left">
77     <action name="SendToDesktopLeft"></action>
78   </keybind>
79   <keybind key="S-A-Right">
80     <action name="SendToDesktopRight"></action>
81   </keybind>
82   <keybind key="S-A-Up">
83     <action name="SendToDesktopUp"></action>
84   </keybind>
85   <keybind key="S-A-Down">
86     <action name="SendToDesktopDown"></action>
87   </keybind>
88   <keybind key="C-A-d">
89     <action name="ToggleShowDesktop"></action>
90   </keybind>
91   <keybind key="A-F4">
92     <action name="Close"></action>
93   </keybind>
94   <keybind key="A-Tab">
95     <action name="NextWindow"></action>
96   </keybind>
97   <keybind key="A-S-Tab">
98     <action name="PreviousWindow"></action>
99   </keybind>
100   <keybind key="A-F7">
101     <action name="KeyboardMove"></action>
102   </keybind>
103   <keybind key="A-F8">
104     <action name="KeyboardResize"></action>
105   </keybind>
106   <keybind key="A-F9">
107     <action name="Iconify"></action>
108   </keybind>
109 </keyboard>
110
111 <mouse>
112   <dragThreshold>3</dragThreshold>
113   <doubleClickTime>200</doubleClickTime>
114   <leftHanded>no</leftHanded>
115
116   <context name="frame">
117     <mousebind button="A-Left" action="drag">
118       <action name="move"/>
119     </mousebind>
120     <mousebind button="A-Left" action="click">
121       <action name="raise"/>
122     </mousebind>
123     <mousebind button="A-Left" action="press">
124       <action name="focus"/>
125     </mousebind>
126     <mousebind button="A-Middle" action="drag">
127       <action name="resize"/>
128     </mousebind> 
129     <mousebind button="A-Middle" action="click">
130       <action name="lower"/>
131     </mousebind>
132     <mousebind button="A-Right" action="press">
133       <action name="showmenu"><menu>client-menu</menu></action>
134     </mousebind>
135     <mousebind button="A-Up" action="click">
136       <action name="desktopright"/>
137     </mousebind>
138     <mousebind button="A-Down" action="click">
139       <action name="desktopleft"/>
140     </mousebind>
141     <mousebind button="C-A-Up" action="click">
142       <action name="sendtodesktopright"/>
143     </mousebind>
144     <mousebind button="C-A-Down" action="click">
145       <action name="sendtodesktopleft"/>
146     </mousebind>
147   </context>
148   <context name="titlebar">
149     <mousebind button="Left" action="drag">
150       <action name="move"/>
151     </mousebind>
152     <mousebind button="Left" action="click">
153       <action name="raise"/>
154     </mousebind>
155     <mousebind button="Left" action="press">
156       <action name="focus"/>
157     </mousebind>
158     <mousebind button="Left" action="doubleclick">
159       <action name="toggleshade"/>
160     </mousebind>
161     <mousebind button="Middle" action="press">
162       <action name="lower"/>
163     </mousebind>
164     <mousebind button="Up" action="click">
165       <action name="shade"/>
166     </mousebind>
167     <mousebind button="Down" action="click">
168       <action name="unshade"/>
169     </mousebind>
170     <mousebind button="Right" action="press">
171       <action name="showmenu"><menu>client-menu</menu></action>
172     </mousebind>
173   </context>
174   <context name="handle">
175     <mousebind button="Left" action="drag">
176       <action name="move"/>
177     </mousebind>
178     <mousebind button="Left" action="click">
179       <action name="raise"/>
180     </mousebind>
181     <mousebind button="Left" action="press">
182       <action name="focus"/>
183     </mousebind>
184     <mousebind button="Middle" action="press">
185       <action name="lower"/>
186     </mousebind>
187   </context>
188   <context name="blcorner">
189     <mousebind button="Left" action="drag">
190       <action name="resize"/>
191     </mousebind>
192     <mousebind button="Left" action="press">
193       <action name="focus"/>
194     </mousebind>
195   </context>
196   <context name="brcorner">
197     <mousebind button="Left" action="drag">
198       <action name="resize"/>
199     </mousebind>
200     <mousebind button="Left" action="press">
201       <action name="focus"/>
202     </mousebind>
203   </context>
204   <context name="client">
205     <mousebind button="Left" action="press">
206       <action name="focus"/>
207       <action name="raise"/>
208     </mousebind>
209     <mousebind button="Middle" action="press">
210       <action name="focus"/>
211     </mousebind>
212     <mousebind button="Right" action="press">
213       <action name="focus"/>
214     </mousebind>
215   </context>
216   <context name="icon">
217     <mousebind button="Left" action="press">
218       <action name="focus"/>
219     </mousebind>
220     <mousebind button="Left" action="click">
221       <action name="showmenu"><menu>client-menu</menu></action>
222     </mousebind>
223     <mousebind button="Left" action="doubleclick">
224       <action name="close"/>
225     </mousebind>
226   </context>
227   <context name="alldesktops">
228     <mousebind button="Left" action="press">
229       <action name="focus"/>
230     </mousebind>
231     <mousebind button="Left" action="click">
232       <action name="toggleomnipresent"/>
233     </mousebind>
234   </context>
235   <context name="shade">
236     <mousebind button="Left" action="press">
237       <action name="focus"/>
238     </mousebind>
239     <mousebind button="Left" action="click">
240       <action name="toggleshade"/>
241     </mousebind>
242   </context>
243   <context name="iconify">
244     <mousebind button="Left" action="press">
245       <action name="focus"/>
246     </mousebind>
247     <mousebind button="Left" action="click">
248       <action name="iconify"/>
249     </mousebind>
250   </context>
251   <context name="maximize">
252     <mousebind button="Left" action="press">
253       <action name="focus"/>
254     </mousebind>
255     <mousebind button="Middle" action="press">
256       <action name="focus"/>
257     </mousebind>
258     <mousebind button="Right" action="press">
259       <action name="focus"/>
260     </mousebind>
261     <mousebind button="Left" action="click">
262       <action name="togglemaximizefull"/>
263     </mousebind>
264     <mousebind button="Middle" action="click">
265       <action name="togglemaximizevert"/>
266     </mousebind>
267     <mousebind button="Right" action="click">
268       <action name="togglemaximizehorz"/>
269     </mousebind>
270   </context>
271   <context name="close">
272     <mousebind button="Left" action="press">
273       <action name="focus"/>
274     </mousebind>
275     <mousebind button="Left" action="click">
276       <action name="close"/>
277     </mousebind>
278   </context>
279   <context name="root">
280     <mousebind button="Up" action="click">
281       <action name="desktopright"/>
282     </mousebind>
283     <mousebind button="Down" action="click">
284       <action name="desktopleft"/>
285     </mousebind>
286     <mousebind button="A-Up" action="click">
287       <action name="desktopright"/>
288     </mousebind>
289     <mousebind button="A-Down" action="click">
290       <action name="desktopleft"/>
291     </mousebind>
292     <mousebind button="Middle" action="press">
293       <action name="showmenu"><menu>root</menu></action>
294     </mousebind>
295   </context>
296 </mouse>
297
298 </openbox_config>