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