i moved the font shadow stuff back into the theme, so move them out of the font confi...
[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   <focusLast>no</focusLast>
20   <followMouse>no</followMouse>
21   <focusDelay>0</focusDelay>
22   <raiseOnFocus>no</raiseOnFocus>
23 </focus>
24
25 <placement>
26   <policy>Smart</policy>
27   <!-- 'Smart' or 'UnderMouse' -->
28 </placement>
29
30 <theme>
31   <name>bear2</name>
32   <titleLayout>NLIMC</titleLayout>
33   <titleNumber>yes</titleNumber>
34   <!--
35       avaible characters are NDSLIMC, each can occur at most once.
36       N: client menu
37       L: window label (AKA title).
38       I: iconify
39       M: maximize
40       C: close
41       S: shade
42       D: omnipresent (on all desktops).
43   -->
44   <keepBorder>yes</keepBorder>
45   <hideDisabled>no</hideDisabled>
46   <font place="ActiveWindow">
47     <name>arial,sans</name>
48     <size>7</size>
49     <weight>bold</weight>
50     <slant>normal</slant>
51   </font>
52   <font place="InactiveWindow">
53     <name>arial,sans</name>
54     <size>7</size>
55     <weight>bold</weight>
56     <slant>normal</slant>
57   </font>
58   <font place="MenuTitle">
59     <name>arial,sans</name>
60     <size>8</size>
61     <weight>bold</weight>
62     <slant>normal</slant>
63   </font>
64   <font place="MenuItem">
65     <name>arial,sans</name>
66     <size>8</size>
67     <weight>bold</weight>
68     <slant>normal</slant>
69   </font>
70 </theme>
71
72 <desktops>
73   <number>4</number>
74   <firstdesk>1</firstdesk>
75   <names>
76     <name>one</name>
77     <name>two</name>
78     <name>three</name>
79     <name>four</name>
80   </names>
81 </desktops>
82
83 <resize>
84   <drawContents>yes</drawContents>
85   <fourCorners>no</fourCorners>
86   <popupShow>Nonpixel</popupShow>
87   <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
88   <popupPosition>Center</popupPosition>
89   <!-- 'Center' or 'Top' -->
90 </resize>
91
92 <dock>
93   <position>TopLeft</position>
94   <!-- (Top|Bottom)(Left|Right|)|Left|Right|Floating -->
95   <floatingX>0</floatingX>
96   <floatingY>0</floatingY>
97   <noStrut>no</noStrut>
98   <stacking>Top</stacking>
99   <direction>Vertical</direction>
100   <!-- 'Vertical' or 'Horizontal' -->
101   <autoHide>no</autoHide>
102   <hideDelay>300</hideDelay>
103   <showDelay>300</showDelay>
104   <moveButton>Middle</moveButton>
105 </dock>
106
107 <keyboard>
108   <chainQuitKey>C-g</chainQuitKey>
109
110   <keybind key="A-F10">
111     <action name="MaximizeFull"/>
112   </keybind>
113   <keybind key="A-F5">
114     <action name="UnmaximizeFull"/>
115   </keybind>
116   <keybind key="A-F12">
117     <action name="ToggleShade"/>
118   </keybind>
119   <keybind key="C-A-Left">
120     <action name="DesktopLeft"><wrap>no</wrap></action>
121   </keybind>
122   <keybind key="C-A-Right">
123     <action name="DesktopRight"><wrap>no</wrap></action>
124   </keybind>
125   <keybind key="C-A-Up">
126     <action name="DesktopUp"><wrap>no</wrap></action>
127   </keybind>
128   <keybind key="C-A-Down">
129     <action name="DesktopDown"><wrap>no</wrap></action>
130   </keybind>
131   <keybind key="S-A-Left">
132     <action name="SendToDesktopLeft"><wrap>no</wrap></action>
133   </keybind>
134   <keybind key="S-A-Right">
135     <action name="SendToDesktopRight"><wrap>no</wrap></action>
136   </keybind>
137   <keybind key="S-A-Up">
138     <action name="SendToDesktopUp"><wrap>no</wrap></action>
139   </keybind>
140   <keybind key="S-A-Down">
141     <action name="SendToDesktopDown"><wrap>no</wrap></action>
142   </keybind>
143   <keybind key="C-A-d">
144     <action name="ToggleShowDesktop"/>
145   </keybind>
146   <keybind key="A-F4">
147     <action name="Close"/>
148   </keybind>
149   <keybind key="A-Tab">
150     <action name="NextWindow"/>
151   </keybind>
152   <keybind key="A-S-Tab">
153     <action name="PreviousWindow"/>
154   </keybind>
155   <keybind key="A-F7">
156     <action name="Move"/>
157   </keybind>
158   <keybind key="A-F8">
159     <action name="Resize"/>
160   </keybind>
161   <keybind key="A-F9">
162     <action name="Iconify"/>
163   </keybind>
164   <keybind key="A-space">
165     <action name="ShowMenu"><menu>client-menu</menu></action>
166   </keybind>
167 </keyboard>
168
169 <mouse>
170   <dragThreshold>3</dragThreshold>
171   <doubleClickTime>200</doubleClickTime>
172
173   <context name="Frame">
174     <mousebind button="A-Left" action="Drag">
175       <action name="Move"/>
176     </mousebind>
177     <mousebind button="A-Left" action="Click">
178       <action name="Raise"/>
179     </mousebind>
180     <mousebind button="A-Left" action="Press">
181       <action name="Focus"/>
182     </mousebind>
183     <mousebind button="A-Middle" action="Drag">
184       <action name="Resize"/>
185     </mousebind> 
186     <mousebind button="A-Middle" action="Click">
187       <action name="Lower"/>
188     </mousebind>
189     <mousebind button="A-Right" action="Press">
190       <action name="ShowMenu"><menu>client-menu</menu></action>
191     </mousebind>
192     <mousebind button="A-Up" action="Click">
193       <action name="DesktopPrevious"/>
194     </mousebind>
195     <mousebind button="A-Down" action="Click">
196       <action name="DesktopNext"/>
197     </mousebind>
198     <mousebind button="C-A-Up" action="Click">
199       <action name="SendToDesktopPrevious"/>
200     </mousebind>
201     <mousebind button="C-A-Down" action="Click">
202       <action name="SendToDesktopNext"/>
203     </mousebind>
204   </context>
205   <context name="Titlebar">
206     <mousebind button="Left" action="Drag">
207       <action name="Move"/>
208     </mousebind>
209     <mousebind button="Left" action="Click">
210       <action name="Raise"/>
211     </mousebind>
212     <mousebind button="Left" action="Press">
213       <action name="Focus"/>
214     </mousebind>
215     <mousebind button="Left" action="DoubleClick">
216       <action name="ToggleShade"/>
217     </mousebind>
218     <mousebind button="Middle" action="Press">
219       <action name="Lower"/>
220     </mousebind>
221     <mousebind button="Up" action="Click">
222       <action name="Shade"/>
223     </mousebind>
224     <mousebind button="Down" action="Click">
225       <action name="Unshade"/>
226     </mousebind>
227     <mousebind button="Right" action="Press">
228       <action name="ShowMenu"><menu>client-menu</menu></action>
229     </mousebind>
230   </context>
231   <context name="Handle">
232     <mousebind button="Left" action="Drag">
233       <action name="Move"/>
234     </mousebind>
235     <mousebind button="Left" action="Click">
236       <action name="Raise"/>
237     </mousebind>
238     <mousebind button="Left" action="Press">
239       <action name="Focus"/>
240     </mousebind>
241     <mousebind button="Middle" action="Press">
242       <action name="Lower"/>
243     </mousebind>
244   </context>
245   <context name="BLCorner">
246     <mousebind button="Left" action="Drag">
247       <action name="Resize"/>
248     </mousebind>
249     <mousebind button="Left" action="Press">
250       <action name="Focus"/>
251     </mousebind>
252   </context>
253   <context name="BRCorner">
254     <mousebind button="Left" action="Drag">
255       <action name="Resize"/>
256     </mousebind>
257     <mousebind button="Left" action="Press">
258       <action name="Focus"/>
259     </mousebind>
260   </context>
261   <context name="TLCorner">
262     <mousebind button="Left" action="Drag">
263       <action name="Resize"/>
264     </mousebind>
265     <mousebind button="Left" action="Press">
266       <action name="Focus"/>
267     </mousebind>
268   </context>
269   <context name="TRCorner">
270     <mousebind button="Left" action="Drag">
271       <action name="Resize"/>
272     </mousebind>
273     <mousebind button="Left" action="Press">
274       <action name="Focus"/>
275     </mousebind>
276   </context>
277   <context name="Client">
278     <mousebind button="Left" action="Press">
279       <action name="Focus"/>
280       <action name="Raise"/>
281     </mousebind>
282     <mousebind button="Middle" action="Press">
283       <action name="Focus"/>
284     </mousebind>
285     <mousebind button="Right" action="Press">
286       <action name="Focus"/>
287     </mousebind>
288   </context>
289   <context name="Icon">
290     <mousebind button="Left" action="Press">
291       <action name="Focus"/>
292     </mousebind>
293     <mousebind button="Right" action="Press">
294       <action name="ShowMenu"><menu>client-menu</menu></action>
295     </mousebind>
296     <mousebind button="Left" action="Press">
297       <action name="ShowMenu"><menu>client-menu</menu></action>
298     </mousebind>
299   </context>
300   <context name="AllDesktops">
301     <mousebind button="Left" action="Press">
302       <action name="Focus"/>
303     </mousebind>
304     <mousebind button="Left" action="Click">
305       <action name="ToggleOmnipresent"/>
306     </mousebind>
307   </context>
308   <context name="Shade">
309     <mousebind button="Left" action="Press">
310       <action name="Focus"/>
311     </mousebind>
312     <mousebind button="Left" action="Click">
313       <action name="ToggleShade"/>
314     </mousebind>
315   </context>
316   <context name="Iconify">
317     <mousebind button="Left" action="Press">
318       <action name="Focus"/>
319     </mousebind>
320     <mousebind button="Left" action="Click">
321       <action name="Iconify"/>
322     </mousebind>
323   </context>
324   <context name="Maximize">
325     <mousebind button="Left" action="Press">
326       <action name="Focus"/>
327     </mousebind>
328     <mousebind button="Middle" action="Press">
329       <action name="Focus"/>
330     </mousebind>
331     <mousebind button="Right" action="Press">
332       <action name="Focus"/>
333     </mousebind>
334     <mousebind button="Left" action="Click">
335       <action name="ToggleMaximizeFull"/>
336     </mousebind>
337     <mousebind button="Middle" action="Click">
338       <action name="ToggleMaximizeVert"/>
339     </mousebind>
340     <mousebind button="Right" action="Click">
341       <action name="ToggleMaximizeHorz"/>
342     </mousebind>
343   </context>
344   <context name="Close">
345     <mousebind button="Left" action="Press">
346       <action name="Focus"/>
347     </mousebind>
348     <mousebind button="Left" action="Click">
349       <action name="Close"/>
350     </mousebind>
351   </context>
352   <context name="Desktop">
353     <mousebind button="Up" action="Press">
354       <action name="DesktopPrevious"/>
355     </mousebind>
356     <mousebind button="Down" action="Press">
357       <action name="DesktopNext"/>
358     </mousebind>
359     <mousebind button="A-Up" action="Press">
360       <action name="DesktopPrevious"/>
361     </mousebind>
362     <mousebind button="A-Down" action="Press">
363       <action name="DesktopNext"/>
364     </mousebind>
365     <mousebind button="Left" action="Press">
366       <action name="Focus"/>
367       <action name="Raise"/>
368     </mousebind> 
369     <mousebind button="Middle" action="Press">
370       <action name="ShowMenu"><menu>client-list-menu</menu></action>
371     </mousebind> 
372     <mousebind button="Right" action="Press">
373       <action name="ShowMenu"><menu>root-menu</menu></action>
374     </mousebind>
375   </context>
376   <context name="MoveResize">
377     <mousebind button="Up" action="Press">
378       <action name="DesktopPrevious"/>
379     </mousebind>
380     <mousebind button="Down" action="Press">
381       <action name="DesktopNext"/>
382     </mousebind>
383     <mousebind button="A-Up" action="Press">
384       <action name="DesktopPrevious"/>
385     </mousebind>
386     <mousebind button="A-Down" action="Press">
387       <action name="DesktopNext"/>
388     </mousebind>
389   </context>
390 </mouse>
391
392 <menu>
393   <!-- You can specify more than one menu file in here and they are all loaded,
394        just don't make menu ids clash or, well, it'll be kind of pointless -->
395
396   <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
397   <file>menu.xml</file>
398   <warpPointer>yes</warpPointer>
399   <xorStyle>yes</xorStyle>
400   <hideDelay>250</hideDelay>
401   <middle>no</middle>
402   <submenuShowDelay>0</submenuShowDelay>
403   <desktopMenuIcons>yes</desktopMenuIcons>
404   <!-- -->
405 </menu>
406
407 <applications>
408 <!--
409   <application name="this application does not exist">
410     <decor>yes</decor>
411     <shade>no</shade>
412     <position>
413       <x>center</x>
414       <y>200</y>
415     </position>
416     <focus>yes</focus>
417     <desktop>1</desktop>
418     <head>0</head>
419     # specifies xinerama head
420     <layer>normal</layer>
421     # 'above', 'normal', or 'below'
422     <iconic>no</iconic>
423     <skip_pager>no</skip_pager>
424     <skip_taskbar>no</skip_taskbar>
425     <fullscreen>yes</fullscreen>
426     <maximized>true</maximized>
427     # 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false)
428   </application>
429  -->
430 </applications>
431
432 </openbox_config>