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