*** empty log message ***
[mikachu/openbox.git] / data / rc.xml.in
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- Do not edit this file, it will be overwritten on install.
4         Copy the file to $HOME/.config/openbox/ instead. -->
5
6 <openbox_config xmlns="http://openbox.org/"
7         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8         xsi:schemaLocation="http://openbox.org/
9                 file://@xsddir@/rc.xsd">
10
11 <resistance>
12   <strength>10</strength>
13   <screen_edge_strength>20</screen_edge_strength>
14   <edges_hit_layers_below>no</edges_hit_layers_below>
15 </resistance>
16
17 <focus>
18   <focusNew>yes</focusNew>
19   <followMouse>no</followMouse>
20   <focusLast>no</focusLast>
21   <focusDelay>0</focusDelay>
22   <raiseOnFocus>no</raiseOnFocus>
23 </focus>
24
25 <theme>
26   <name>TheBear</name>
27   <titlelayout>NLIMC</titlelayout>
28 </theme>
29
30 <placement>
31   <policy>Smart</policy>
32 </placement>
33
34 <desktops>
35   <number>4</number>
36   <firstdesk>1</firstdesk>
37   <names>
38     <name>one</name>
39     <name>two</name>
40     <name>three</name>
41     <name>four</name>
42   </names>
43 </desktops>
44
45 <resize>
46   <drawContents>yes</drawContents>
47   <fourCorners>no</fourCorners>
48 </resize>
49
50 <dock>
51   <position>TopLeft</position>
52   <stacking>Top</stacking>
53   <direction>Vertical</direction>
54   <floatingX>0</floatingX>
55   <floatingY>0</floatingY>
56   <autoHide>no</autoHide>
57   <hideDelay>300</hideDelay>
58   <desktopMenuIcons>yes</desktopMenuIcons>
59   <moveButton>A-Left</moveButton>
60 </dock>
61
62 <keyboard>
63   <chainQuitKey>C-g</chainQuitKey>
64
65   <keybind key="A-F10">
66     <action name="MaximizeFull"/>
67   </keybind>
68   <keybind key="A-F5">
69     <action name="UnmaximizeFull"/>
70   </keybind>
71   <keybind key="A-F12">
72     <action name="ToggleShade"/>
73   </keybind>
74   <keybind key="C-A-Left">
75     <action name="DesktopLeft"><wrap>no</wrap></action>
76   </keybind>
77   <keybind key="C-A-Right">
78     <action name="DesktopRight"><wrap>no</wrap></action>
79   </keybind>
80   <keybind key="C-A-Up">
81     <action name="DesktopUp"><wrap>no</wrap></action>
82   </keybind>
83   <keybind key="C-A-Down">
84     <action name="DesktopDown"><wrap>no</wrap></action>
85   </keybind>
86   <keybind key="S-A-Left">
87     <action name="SendToDesktopLeft"><wrap>no</wrap></action>
88   </keybind>
89   <keybind key="S-A-Right">
90     <action name="SendToDesktopRight"><wrap>no</wrap></action>
91   </keybind>
92   <keybind key="S-A-Up">
93     <action name="SendToDesktopUp"><wrap>no</wrap></action>
94   </keybind>
95   <keybind key="S-A-Down">
96     <action name="SendToDesktopDown"><wrap>no</wrap></action>
97   </keybind>
98   <keybind key="C-A-d">
99     <action name="ToggleShowDesktop"/>
100   </keybind>
101   <keybind key="A-F4">
102     <action name="Close"/>
103   </keybind>
104   <keybind key="A-Tab">
105     <action name="NextWindow"/>
106   </keybind>
107   <keybind key="A-S-Tab">
108     <action name="PreviousWindow"/>
109   </keybind>
110   <keybind key="A-F7">
111     <action name="Move"/>
112   </keybind>
113   <keybind key="A-F8">
114     <action name="Resize"/>
115   </keybind>
116   <keybind key="A-F9">
117     <action name="Iconify"/>
118   </keybind>
119   <keybind key="A-space">
120     <action name="ShowMenu"><menu>client-menu</menu></action>
121   </keybind>
122 </keyboard>
123
124 <mouse>
125   <dragThreshold>3</dragThreshold>
126   <doubleClickTime>200</doubleClickTime>
127
128   <context name="Frame">
129     <mousebind button="A-Left" action="Drag">
130       <action name="Move"/>
131     </mousebind>
132     <mousebind button="A-Left" action="Click">
133       <action name="Raise"/>
134     </mousebind>
135     <mousebind button="A-Left" action="Press">
136       <action name="Focus"/>
137     </mousebind>
138     <mousebind button="A-Middle" action="Drag">
139       <action name="Resize"/>
140     </mousebind> 
141     <mousebind button="A-Middle" action="Click">
142       <action name="Lower"/>
143     </mousebind>
144     <mousebind button="A-Right" action="Press">
145       <action name="ShowMenu"><menu>client-menu</menu></action>
146     </mousebind>
147     <mousebind button="A-Up" action="Click">
148       <action name="DesktopPrevious"/>
149     </mousebind>
150     <mousebind button="A-Down" action="Click">
151       <action name="DesktopNext"/>
152     </mousebind>
153     <mousebind button="C-A-Up" action="Click">
154       <action name="SendToDesktopPrevious"/>
155     </mousebind>
156     <mousebind button="C-A-Down" action="Click">
157       <action name="SendToDesktopNext"/>
158     </mousebind>
159   </context>
160   <context name="Titlebar">
161     <mousebind button="Left" action="Drag">
162       <action name="Move"/>
163     </mousebind>
164     <mousebind button="Left" action="Click">
165       <action name="Raise"/>
166     </mousebind>
167     <mousebind button="Left" action="Press">
168       <action name="Focus"/>
169     </mousebind>
170     <mousebind button="Left" action="DoubleClick">
171       <action name="ToggleShade"/>
172     </mousebind>
173     <mousebind button="Middle" action="Press">
174       <action name="Lower"/>
175     </mousebind>
176     <mousebind button="Up" action="Click">
177       <action name="Shade"/>
178     </mousebind>
179     <mousebind button="Down" action="Click">
180       <action name="Unshade"/>
181     </mousebind>
182     <mousebind button="Right" action="Press">
183       <action name="ShowMenu"><menu>client-menu</menu></action>
184     </mousebind>
185   </context>
186   <context name="Handle">
187     <mousebind button="Left" action="Drag">
188       <action name="Move"/>
189     </mousebind>
190     <mousebind button="Left" action="Click">
191       <action name="Raise"/>
192     </mousebind>
193     <mousebind button="Left" action="Press">
194       <action name="Focus"/>
195     </mousebind>
196     <mousebind button="Middle" action="Press">
197       <action name="Lower"/>
198     </mousebind>
199   </context>
200   <context name="BLCorner">
201     <mousebind button="Left" action="Drag">
202       <action name="Resize"/>
203     </mousebind>
204     <mousebind button="Left" action="Press">
205       <action name="Focus"/>
206     </mousebind>
207   </context>
208   <context name="BRCorner">
209     <mousebind button="Left" action="Drag">
210       <action name="Resize"/>
211     </mousebind>
212     <mousebind button="Left" action="Press">
213       <action name="Focus"/>
214     </mousebind>
215   </context>
216   <context name="TLCorner">
217     <mousebind button="Left" action="Drag">
218       <action name="Resize"/>
219     </mousebind>
220     <mousebind button="Left" action="Press">
221       <action name="Focus"/>
222     </mousebind>
223   </context>
224   <context name="TRCorner">
225     <mousebind button="Left" action="Drag">
226       <action name="Resize"/>
227     </mousebind>
228     <mousebind button="Left" action="Press">
229       <action name="Focus"/>
230     </mousebind>
231   </context>
232   <context name="Client">
233     <mousebind button="Left" action="Press">
234       <action name="Focus"/>
235       <action name="Raise"/>
236     </mousebind>
237     <mousebind button="Middle" action="Press">
238       <action name="Focus"/>
239     </mousebind>
240     <mousebind button="Right" action="Press">
241       <action name="Focus"/>
242     </mousebind>
243   </context>
244   <context name="Icon">
245     <mousebind button="Left" action="Press">
246       <action name="Focus"/>
247     </mousebind>
248     <mousebind button="Right" action="Press">
249       <action name="ShowMenu"><menu>client-menu</menu></action>
250     </mousebind>
251     <mousebind button="Left" action="Press">
252       <action name="ShowMenu"><menu>client-menu</menu></action>
253     </mousebind>
254   </context>
255   <context name="AllDesktops">
256     <mousebind button="Left" action="Press">
257       <action name="Focus"/>
258     </mousebind>
259     <mousebind button="Left" action="Click">
260       <action name="ToggleOmnipresent"/>
261     </mousebind>
262   </context>
263   <context name="Shade">
264     <mousebind button="Left" action="Press">
265       <action name="Focus"/>
266     </mousebind>
267     <mousebind button="Left" action="Click">
268       <action name="ToggleShade"/>
269     </mousebind>
270   </context>
271   <context name="Iconify">
272     <mousebind button="Left" action="Press">
273       <action name="Focus"/>
274     </mousebind>
275     <mousebind button="Left" action="Click">
276       <action name="Iconify"/>
277     </mousebind>
278   </context>
279   <context name="Maximize">
280     <mousebind button="Left" action="Press">
281       <action name="Focus"/>
282     </mousebind>
283     <mousebind button="Middle" action="Press">
284       <action name="Focus"/>
285     </mousebind>
286     <mousebind button="Right" action="Press">
287       <action name="Focus"/>
288     </mousebind>
289     <mousebind button="Left" action="Click">
290       <action name="ToggleMaximizeFull"/>
291     </mousebind>
292     <mousebind button="Middle" action="Click">
293       <action name="ToggleMaximizeVert"/>
294     </mousebind>
295     <mousebind button="Right" action="Click">
296       <action name="ToggleMaximizeHorz"/>
297     </mousebind>
298   </context>
299   <context name="Close">
300     <mousebind button="Left" action="Press">
301       <action name="Focus"/>
302     </mousebind>
303     <mousebind button="Left" action="Click">
304       <action name="Close"/>
305     </mousebind>
306   </context>
307   <context name="Desktop">
308     <mousebind button="Up" action="Press">
309       <action name="DesktopPrevious"/>
310     </mousebind>
311     <mousebind button="Down" action="Press">
312       <action name="DesktopNext"/>
313     </mousebind>
314     <mousebind button="A-Up" action="Press">
315       <action name="DesktopPrevious"/>
316     </mousebind>
317     <mousebind button="A-Down" action="Press">
318       <action name="DesktopNext"/>
319     </mousebind>
320     <mousebind button="Left" action="Press">
321       <action name="Focus"/>
322       <action name="Raise"/>
323     </mousebind> 
324     <mousebind button="Middle" action="Press">
325       <action name="ShowMenu"><menu>client-list-menu</menu></action>
326     </mousebind> 
327     <mousebind button="Right" action="Press">
328       <action name="ShowMenu"><menu>root-menu</menu></action>
329     </mousebind>
330   </context>
331   <context name="MoveResize">
332     <mousebind button="Up" action="Press">
333       <action name="DesktopPrevious"/>
334     </mousebind>
335     <mousebind button="Down" action="Press">
336       <action name="DesktopNext"/>
337     </mousebind>
338     <mousebind button="A-Up" action="Press">
339       <action name="DesktopPrevious"/>
340     </mousebind>
341     <mousebind button="A-Down" action="Press">
342       <action name="DesktopNext"/>
343     </mousebind>
344   </context>
345 </mouse>
346
347 <menu>
348   <!-- You can specify more than one menu file in here and they are all loaded,
349        just don't make menu ids clash or, well, it'll be kind of pointless -->
350
351   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
352   <file>menu.xml</file>
353 </menu>
354
355 </openbox_config>