invisible resizing areas/grips in the top corners of the window
[dana/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   <screen_edge_strength>10</screen_edge_strength>
11   <windows>yes</windows>
12 </resistance>
13
14 <placement>
15   <remember>yes</remember>
16 </placement>
17
18 <focus>
19   <focusNew>yes</focusNew>
20   <followMouse>no</followMouse>
21   <focusLast>yes</focusLast>
22   <focusLastOnDesktop>yes</focusLastOnDesktop>
23   <cyclingDialog>yes</cyclingDialog>
24 </focus>
25
26 <theme>
27   <theme>operation</theme>
28   <titlelayout>NLIMC</titlelayout>
29 </theme>
30
31 <desktops>
32   <number>4</number>
33   <names>
34     <name>one</name>
35     <name>two</name>
36     <name>three</name>
37     <name>four</name>
38   </names>
39 </desktops>
40
41 <moveresize>
42   <opaqueMove>yes</opaqueMove>
43   <opaqueResize>yes</opaqueResize>
44 </moveresize>
45
46 <dock>
47   <position>topleft</position>
48   <stacking>top</stacking>
49   <direction>vertical</direction>
50   <floatingX>0</floatingX>
51   <floatingY>0</floatingY>
52   <autoHide>no</autoHide>
53   <hideTimeout>300</hideTimeout>
54 </dock>
55
56 <keyboard>
57   <keybind key="A-F10">
58     <action name="MaximizeFull"></action>
59   </keybind>
60   <keybind key="A-F5">
61     <action name="UnmaximizeFull"></action>
62   </keybind>
63   <keybind key="A-F12">
64     <action name="ToggleShade"></action>
65   </keybind>
66   <keybind key="C-A-Left">
67     <action name="DesktopLeft"></action>
68   </keybind>
69   <keybind key="C-A-Right">
70     <action name="DesktopRight"></action>
71   </keybind>
72   <keybind key="C-A-Up">
73     <action name="DesktopUp"></action>
74   </keybind>
75   <keybind key="C-A-Down">
76     <action name="DesktopDown"></action>
77   </keybind>
78   <keybind key="S-A-Left">
79     <action name="SendToDesktopLeft"></action>
80   </keybind>
81   <keybind key="S-A-Right">
82     <action name="SendToDesktopRight"></action>
83   </keybind>
84   <keybind key="S-A-Up">
85     <action name="SendToDesktopUp"></action>
86   </keybind>
87   <keybind key="S-A-Down">
88     <action name="SendToDesktopDown"></action>
89   </keybind>
90   <keybind key="C-A-d">
91     <action name="ToggleShowDesktop"></action>
92   </keybind>
93   <keybind key="A-F4">
94     <action name="Close"></action>
95   </keybind>
96   <keybind key="A-Tab">
97     <action name="NextWindow"></action>
98   </keybind>
99   <keybind key="A-S-Tab">
100     <action name="PreviousWindow"></action>
101   </keybind>
102   <keybind key="A-F7">
103     <action name="KeyboardMove"></action>
104   </keybind>
105   <keybind key="A-F8">
106     <action name="KeyboardResize"></action>
107   </keybind>
108   <keybind key="A-F9">
109     <action name="Iconify"></action>
110   </keybind>
111 </keyboard>
112
113 <mouse>
114   <dragThreshold>3</dragThreshold>
115   <doubleClickTime>200</doubleClickTime>
116
117   <context name="frame">
118     <mousebind button="A-Left" action="drag">
119       <action name="move"/>
120     </mousebind>
121     <mousebind button="A-Left" action="click">
122       <action name="raise"/>
123     </mousebind>
124     <mousebind button="A-Left" action="press">
125       <action name="focus"/>
126     </mousebind>
127     <mousebind button="A-Middle" action="drag">
128       <action name="resize"/>
129     </mousebind> 
130     <mousebind button="A-Middle" action="click">
131       <action name="lower"/>
132     </mousebind>
133     <mousebind button="A-Right" action="press">
134       <action name="showmenu"><menu>client-menu</menu></action>
135     </mousebind>
136     <mousebind button="A-Up" action="click">
137       <action name="desktopright"/>
138     </mousebind>
139     <mousebind button="A-Down" action="click">
140       <action name="desktopleft"/>
141     </mousebind>
142     <mousebind button="C-A-Up" action="click">
143       <action name="sendtodesktopright"/>
144     </mousebind>
145     <mousebind button="C-A-Down" action="click">
146       <action name="sendtodesktopleft"/>
147     </mousebind>
148   </context>
149   <context name="titlebar">
150     <mousebind button="Left" action="drag">
151       <action name="move"/>
152     </mousebind>
153     <mousebind button="Left" action="click">
154       <action name="raise"/>
155     </mousebind>
156     <mousebind button="Left" action="press">
157       <action name="focus"/>
158     </mousebind>
159     <mousebind button="Left" action="doubleclick">
160       <action name="toggleshade"/>
161     </mousebind>
162     <mousebind button="Middle" action="press">
163       <action name="lower"/>
164     </mousebind>
165     <mousebind button="Up" action="click">
166       <action name="shade"/>
167     </mousebind>
168     <mousebind button="Down" action="click">
169       <action name="unshade"/>
170     </mousebind>
171     <mousebind button="Right" action="press">
172       <action name="showmenu"><menu>client-menu</menu></action>
173     </mousebind>
174   </context>
175   <context name="handle">
176     <mousebind button="Left" action="drag">
177       <action name="move"/>
178     </mousebind>
179     <mousebind button="Left" action="click">
180       <action name="raise"/>
181     </mousebind>
182     <mousebind button="Left" action="press">
183       <action name="focus"/>
184     </mousebind>
185     <mousebind button="Middle" action="press">
186       <action name="lower"/>
187     </mousebind>
188   </context>
189   <context name="blcorner">
190     <mousebind button="Left" action="drag">
191       <action name="resize"/>
192     </mousebind>
193     <mousebind button="Left" action="press">
194       <action name="focus"/>
195     </mousebind>
196   </context>
197   <context name="brcorner">
198     <mousebind button="Left" action="drag">
199       <action name="resize"/>
200     </mousebind>
201     <mousebind button="Left" action="press">
202       <action name="focus"/>
203     </mousebind>
204   </context>
205   <context name="tlcorner">
206     <mousebind button="Left" action="drag">
207       <action name="resize"/>
208     </mousebind>
209     <mousebind button="Left" action="press">
210       <action name="focus"/>
211     </mousebind>
212   </context>
213   <context name="trcorner">
214     <mousebind button="Left" action="drag">
215       <action name="resize"/>
216     </mousebind>
217     <mousebind button="Left" action="press">
218       <action name="focus"/>
219     </mousebind>
220   </context>
221   <context name="client">
222     <mousebind button="Left" action="press">
223       <action name="focus"/>
224       <action name="raise"/>
225     </mousebind>
226     <mousebind button="Middle" action="press">
227       <action name="focus"/>
228     </mousebind>
229     <mousebind button="Right" action="press">
230       <action name="focus"/>
231     </mousebind>
232   </context>
233   <context name="icon">
234     <mousebind button="Left" action="press">
235       <action name="focus"/>
236     </mousebind>
237     <mousebind button="Right" action="press">
238       <action name="showmenu"><menu>client-menu</menu></action>
239     </mousebind>
240     <mousebind button="Left" action="click">
241       <action name="showmenu"><menu>client-menu</menu></action>
242     </mousebind>
243     <mousebind button="Left" action="doubleclick">
244       <action name="close"/>
245     </mousebind>
246   </context>
247   <context name="alldesktops">
248     <mousebind button="Left" action="press">
249       <action name="focus"/>
250     </mousebind>
251     <mousebind button="Left" action="click">
252       <action name="toggleomnipresent"/>
253     </mousebind>
254   </context>
255   <context name="shade">
256     <mousebind button="Left" action="press">
257       <action name="focus"/>
258     </mousebind>
259     <mousebind button="Left" action="click">
260       <action name="toggleshade"/>
261     </mousebind>
262   </context>
263   <context name="iconify">
264     <mousebind button="Left" action="press">
265       <action name="focus"/>
266     </mousebind>
267     <mousebind button="Left" action="click">
268       <action name="iconify"/>
269     </mousebind>
270   </context>
271   <context name="maximize">
272     <mousebind button="Left" action="press">
273       <action name="focus"/>
274     </mousebind>
275     <mousebind button="Middle" action="press">
276       <action name="focus"/>
277     </mousebind>
278     <mousebind button="Right" action="press">
279       <action name="focus"/>
280     </mousebind>
281     <mousebind button="Left" action="click">
282       <action name="togglemaximizefull"/>
283     </mousebind>
284     <mousebind button="Middle" action="click">
285       <action name="togglemaximizevert"/>
286     </mousebind>
287     <mousebind button="Right" action="click">
288       <action name="togglemaximizehorz"/>
289     </mousebind>
290   </context>
291   <context name="close">
292     <mousebind button="Left" action="press">
293       <action name="focus"/>
294     </mousebind>
295     <mousebind button="Left" action="click">
296       <action name="close"/>
297     </mousebind>
298   </context>
299   <context name="root">
300     <mousebind button="Up" action="click">
301       <action name="desktopright"/>
302     </mousebind>
303     <mousebind button="Down" action="click">
304       <action name="desktopleft"/>
305     </mousebind>
306     <mousebind button="A-Up" action="click">
307       <action name="desktopright"/>
308     </mousebind>
309     <mousebind button="A-Down" action="click">
310       <action name="desktopleft"/>
311     </mousebind>
312     <mousebind button="Right" action="press">
313       <action name="showmenu"><menu>root</menu></action>
314     </mousebind>
315   </context>
316 </mouse>
317
318 <menu id="root" label="Openbox 3">
319   <menu id="apps" label="Applications">
320     <item label="Xterm">
321       <action name="execute"><execute>xterm</execute></action>
322     </item>
323     <item label="Mozilla">
324       <action name="execute"><execute>mozilla</execute></action>
325     </item>
326     <item label="Gaim">
327       <action name="execute"><execute>gaim</execute></action>
328     </item>
329     <item label="Quark">
330       <action name="execute"><execute>strange-quark</execute></action>
331     </item>
332   </menu>
333   <menu id="games" label="Games">
334     <item label="Crack-Attack">
335       <action name="execute"><execute>crack-attack</execute></action>
336     </item>
337     <item label="XFRisk">
338       <action name="execute"><execute>xfrisk</execute></action>
339     </item>
340     <item label="Quake III">
341       <action name="execute"><execute>quake3</execute></action>
342     </item>
343   </menu>
344   <item label="--" /> <!-- separator -->
345   <item label="Restart">
346     <action name="restart" />
347   </item>
348   <item label="Exit">
349     <action name="exit" />
350   </item>
351 </menu>
352
353 </openbox_config>