]> Dogcows Code - chaz/openbox/blob - data/rc.xml
bda1ca88b0cb3af96021c02484c9de9a56367079
[chaz/openbox] / data / rc.xml
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
10 <resistance>
11 <strength>10</strength>
12 <screen_edge_strength>20</screen_edge_strength>
13 <edges_hit_layers_below>no</edges_hit_layers_below>
14 </resistance>
15
16 <focus>
17 <focusNew>yes</focusNew>
18 <focusLast>no</focusLast>
19 <followMouse>no</followMouse>
20 <focusDelay>0</focusDelay>
21 <raiseOnFocus>no</raiseOnFocus>
22 </focus>
23
24 <placement>
25 <policy>Smart</policy>
26 <!-- 'Smart' or 'UnderMouse' -->
27 </placement>
28
29 <theme>
30 <name>Clearlooks</name>
31 <titleLayout>NLIMC</titleLayout>
32 <titleNumber>yes</titleNumber>
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 <animateIconify>yes</animateIconify>
45 <font place="ActiveWindow">
46 <name>sans</name>
47 <size>7</size>
48 <!-- font size in points -->
49 <weight>bold</weight>
50 <!-- 'bold' or 'normal' -->
51 <slant>normal</slant>
52 <!-- 'italic' or 'normal' -->
53 </font>
54 <font place="InactiveWindow">
55 <name>sans</name>
56 <size>7</size>
57 <!-- font size in points -->
58 <weight>bold</weight>
59 <!-- 'bold' or 'normal' -->
60 <slant>normal</slant>
61 <!-- 'italic' or 'normal' -->
62 </font>
63 <font place="MenuHeader">
64 <name>sans</name>
65 <size>8</size>
66 <!-- font size in points -->
67 <weight>bold</weight>
68 <!-- 'bold' or 'normal' -->
69 <slant>normal</slant>
70 <!-- 'italic' or 'normal' -->
71 </font>
72 <font place="MenuItem">
73 <name>sans</name>
74 <size>9</size>
75 <!-- font size in points -->
76 <weight>bold</weight>
77 <!-- 'bold' or 'normal' -->
78 <slant>normal</slant>
79 <!-- 'italic' or 'normal' -->
80 </font>
81 <font place="OnScreenDisplay">
82 <name>sans</name>
83 <size>9</size>
84 <!-- font size in points -->
85 <weight>bold</weight>
86 <!-- 'bold' or 'normal' -->
87 <slant>normal</slant>
88 <!-- 'italic' or 'normal' -->
89 </font>
90 </theme>
91
92 <desktops>
93 <!-- this stuff is only used at startup, pagers allow you to change them
94 during a session -->
95 <number>4</number>
96 <firstdesk>1</firstdesk>
97 <names>
98 <name>desktop one</name>
99 <name>desktop two</name>
100 <name>desktop three</name>
101 <name>desktop four</name>
102 </names>
103 </desktops>
104
105 <resize>
106 <drawContents>yes</drawContents>
107 <popupShow>Nonpixel</popupShow>
108 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
109 <popupPosition>Center</popupPosition>
110 <!-- 'Center' or 'Top' -->
111 </resize>
112
113 <dock>
114 <position>TopLeft</position>
115 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
116 <floatingX>0</floatingX>
117 <floatingY>0</floatingY>
118 <noStrut>no</noStrut>
119 <stacking>Above</stacking>
120 <!-- 'Above', 'Normal', or 'Below' -->
121 <direction>Vertical</direction>
122 <!-- 'Vertical' or 'Horizontal' -->
123 <autoHide>no</autoHide>
124 <hideDelay>300</hideDelay>
125 <showDelay>300</showDelay>
126 <moveButton>Middle</moveButton>
127 </dock>
128
129 <keyboard>
130 <chainQuitKey>C-g</chainQuitKey>
131
132 <keybind key="A-F10">
133 <action name="MaximizeFull"/>
134 </keybind>
135 <keybind key="A-F5">
136 <action name="UnmaximizeFull"/>
137 </keybind>
138 <keybind key="A-F12">
139 <action name="ToggleShade"/>
140 </keybind>
141 <keybind key="C-A-Left">
142 <action name="DesktopLeft"><wrap>no</wrap></action>
143 </keybind>
144 <keybind key="C-A-Right">
145 <action name="DesktopRight"><wrap>no</wrap></action>
146 </keybind>
147 <keybind key="C-A-Up">
148 <action name="DesktopUp"><wrap>no</wrap></action>
149 </keybind>
150 <keybind key="C-A-Down">
151 <action name="DesktopDown"><wrap>no</wrap></action>
152 </keybind>
153 <keybind key="S-A-Left">
154 <action name="SendToDesktopLeft"><wrap>no</wrap></action>
155 </keybind>
156 <keybind key="S-A-Right">
157 <action name="SendToDesktopRight"><wrap>no</wrap></action>
158 </keybind>
159 <keybind key="S-A-Up">
160 <action name="SendToDesktopUp"><wrap>no</wrap></action>
161 </keybind>
162 <keybind key="S-A-Down">
163 <action name="SendToDesktopDown"><wrap>no</wrap></action>
164 </keybind>
165 <keybind key="C-A-d">
166 <action name="ToggleShowDesktop"/>
167 </keybind>
168 <keybind key="A-F4">
169 <action name="Close"/>
170 </keybind>
171 <keybind key="A-Tab">
172 <action name="NextWindow"/>
173 </keybind>
174 <keybind key="A-S-Tab">
175 <action name="PreviousWindow"/>
176 </keybind>
177 <keybind key="C-A-Tab">
178 <action name="NextWindow"><panels>yes</panels></action>
179 </keybind>
180 <keybind key="C-A-S-Tab">
181 <action name="PreviousWindow"><panels>yes</panels></action>
182 </keybind>
183 <keybind key="A-F7">
184 <action name="Move"/>
185 </keybind>
186 <keybind key="A-F8">
187 <action name="Resize"/>
188 </keybind>
189 <keybind key="A-F9">
190 <action name="Iconify"/>
191 </keybind>
192 <keybind key="A-space">
193 <action name="ShowMenu"><menu>client-menu</menu></action>
194 </keybind>
195 </keyboard>
196
197 <mouse>
198 <dragThreshold>3</dragThreshold>
199 <doubleClickTime>200</doubleClickTime>
200
201 <context name="Frame">
202 <mousebind button="A-Left" action="Drag">
203 <action name="Move"/>
204 </mousebind>
205 <mousebind button="A-Left" action="Click">
206 <action name="Raise"/>
207 </mousebind>
208 <mousebind button="A-Left" action="Press">
209 <action name="Focus"/>
210 </mousebind>
211 <mousebind button="A-Middle" action="Drag">
212 <action name="Resize"/>
213 </mousebind>
214 <mousebind button="A-Middle" action="Click">
215 <action name="Lower"/>
216 </mousebind>
217 <mousebind button="A-Right" action="Press">
218 <action name="ShowMenu"><menu>client-menu</menu></action>
219 </mousebind>
220 <mousebind button="A-Up" action="Click">
221 <action name="DesktopPrevious"/>
222 </mousebind>
223 <mousebind button="A-Down" action="Click">
224 <action name="DesktopNext"/>
225 </mousebind>
226 <mousebind button="C-A-Up" action="Click">
227 <action name="SendToDesktopPrevious"/>
228 </mousebind>
229 <mousebind button="C-A-Down" action="Click">
230 <action name="SendToDesktopNext"/>
231 </mousebind>
232 </context>
233 <context name="Titlebar">
234 <mousebind button="Left" action="Drag">
235 <action name="Move"/>
236 </mousebind>
237 <mousebind button="Left" action="Click">
238 <action name="Raise"/>
239 </mousebind>
240 <mousebind button="Left" action="Press">
241 <action name="Focus"/>
242 </mousebind>
243 <mousebind button="Left" action="DoubleClick">
244 <action name="ToggleShade"/>
245 </mousebind>
246 <mousebind button="Middle" action="Press">
247 <action name="Lower"/>
248 </mousebind>
249 <mousebind button="Up" action="Click">
250 <action name="Shade"/>
251 </mousebind>
252 <mousebind button="Down" action="Click">
253 <action name="Unshade"/>
254 </mousebind>
255 <mousebind button="Right" action="Press">
256 <action name="ShowMenu"><menu>client-menu</menu></action>
257 </mousebind>
258 </context>
259 <context name="Handle">
260 <mousebind button="Left" action="Drag">
261 <action name="Resize"><edge>bottom</edge></action>
262 </mousebind>
263 <mousebind button="Left" action="Press">
264 <action name="Focus"/>
265 </mousebind>
266 </context>
267 <context name="BLCorner">
268 <mousebind button="Left" action="Drag">
269 <action name="Resize"/>
270 </mousebind>
271 <mousebind button="Left" action="Press">
272 <action name="Focus"/>
273 </mousebind>
274 </context>
275 <context name="BRCorner">
276 <mousebind button="Left" action="Drag">
277 <action name="Resize"/>
278 </mousebind>
279 <mousebind button="Left" action="Press">
280 <action name="Focus"/>
281 </mousebind>
282 </context>
283 <context name="TLCorner">
284 <mousebind button="Left" action="Drag">
285 <action name="Resize"/>
286 </mousebind>
287 <mousebind button="Left" action="Press">
288 <action name="Focus"/>
289 </mousebind>
290 </context>
291 <context name="TRCorner">
292 <mousebind button="Left" action="Drag">
293 <action name="Resize"/>
294 </mousebind>
295 <mousebind button="Left" action="Press">
296 <action name="Focus"/>
297 </mousebind>
298 </context>
299 <context name="Client">
300 <mousebind button="Left" action="Press">
301 <action name="Focus"/>
302 <action name="Raise"/>
303 </mousebind>
304 <mousebind button="Middle" action="Press">
305 <action name="Focus"/>
306 </mousebind>
307 <mousebind button="Right" action="Press">
308 <action name="Focus"/>
309 </mousebind>
310 </context>
311 <context name="Icon">
312 <mousebind button="Left" action="Press">
313 <action name="Focus"/>
314 </mousebind>
315 <mousebind button="Right" action="Press">
316 <action name="ShowMenu"><menu>client-menu</menu></action>
317 </mousebind>
318 <mousebind button="Left" action="Press">
319 <action name="ShowMenu"><menu>client-menu</menu></action>
320 </mousebind>
321 </context>
322 <context name="AllDesktops">
323 <mousebind button="Left" action="Press">
324 <action name="Focus"/>
325 </mousebind>
326 <mousebind button="Left" action="Click">
327 <action name="ToggleOmnipresent"/>
328 </mousebind>
329 </context>
330 <context name="Shade">
331 <mousebind button="Left" action="Press">
332 <action name="Focus"/>
333 </mousebind>
334 <mousebind button="Left" action="Click">
335 <action name="ToggleShade"/>
336 </mousebind>
337 </context>
338 <context name="Iconify">
339 <mousebind button="Left" action="Press">
340 <action name="Focus"/>
341 </mousebind>
342 <mousebind button="Left" action="Click">
343 <action name="Iconify"/>
344 </mousebind>
345 </context>
346 <context name="Maximize">
347 <mousebind button="Left" action="Press">
348 <action name="Focus"/>
349 </mousebind>
350 <mousebind button="Middle" action="Press">
351 <action name="Focus"/>
352 </mousebind>
353 <mousebind button="Right" action="Press">
354 <action name="Focus"/>
355 </mousebind>
356 <mousebind button="Left" action="Click">
357 <action name="ToggleMaximizeFull"/>
358 </mousebind>
359 <mousebind button="Middle" action="Click">
360 <action name="ToggleMaximizeVert"/>
361 </mousebind>
362 <mousebind button="Right" action="Click">
363 <action name="ToggleMaximizeHorz"/>
364 </mousebind>
365 </context>
366 <context name="Close">
367 <mousebind button="Left" action="Press">
368 <action name="Focus"/>
369 </mousebind>
370 <mousebind button="Left" action="Click">
371 <action name="Close"/>
372 </mousebind>
373 </context>
374 <context name="Desktop">
375 <mousebind button="Up" action="Press">
376 <action name="DesktopPrevious"/>
377 </mousebind>
378 <mousebind button="Down" action="Press">
379 <action name="DesktopNext"/>
380 </mousebind>
381 <mousebind button="A-Up" action="Press">
382 <action name="DesktopPrevious"/>
383 </mousebind>
384 <mousebind button="A-Down" action="Press">
385 <action name="DesktopNext"/>
386 </mousebind>
387 <mousebind button="Left" action="Press">
388 <action name="Focus"/>
389 <action name="Raise"/>
390 </mousebind>
391 <mousebind button="Middle" action="Press">
392 <action name="ShowMenu"><menu>client-list-menu</menu></action>
393 </mousebind>
394 <mousebind button="Right" action="Press">
395 <action name="ShowMenu"><menu>root-menu</menu></action>
396 </mousebind>
397 </context>
398 <context name="MoveResize">
399 <mousebind button="Up" action="Press">
400 <action name="DesktopPrevious"/>
401 </mousebind>
402 <mousebind button="Down" action="Press">
403 <action name="DesktopNext"/>
404 </mousebind>
405 <mousebind button="A-Up" action="Press">
406 <action name="DesktopPrevious"/>
407 </mousebind>
408 <mousebind button="A-Down" action="Press">
409 <action name="DesktopNext"/>
410 </mousebind>
411 </context>
412 </mouse>
413
414 <menu>
415 <!-- You can specify more than one menu file in here and they are all loaded,
416 just don't make menu ids clash or, well, it'll be kind of pointless -->
417
418 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
419 <file>menu.xml</file>
420 <hideDelay>250</hideDelay>
421 <middle>no</middle>
422 <submenuShowDelay>0</submenuShowDelay>
423 <applicationIcons>yes</applicationIcons>
424 </menu>
425
426 <!-- this section is commented out.. remove this and the ending comment if you
427 want to use it -->
428 <applications>
429 <!-- the name or the class can be set, or both. this is used to match
430 windows when they appear
431
432 role can optionally be set, and only as much as you provide will be
433 checked to see if it matches, eg. if you set role="abc" and the window's
434 role is actually "abcde" it would match.
435 -->
436 <application name="first element of window's WM_CLASS property (see xprop)"
437 class="second element of window's WM_CLASS property (see xprop)"
438 role="the window's WM_WINDOW_ROLE property (see xprop)">
439
440 <!-- each element can be left out or set to 'default' to specify to not
441 change that attribute of the window -->
442
443 <decor>yes</decor>
444
445 <shade>no</shade>
446
447 <position>
448 <!-- the position is only used if both an x and y coordinate are provided
449 (and not set to 'default') -->
450 <x>center</x>
451 <!-- a number or 'center' to center on screen -->
452 <y>200</y>
453 <!-- a number or 'center' to center on screen -->
454 <monitor>1</monitor>
455 <!-- specifies the monitor in a xinerama setup.
456 1 is the first head, or 'mouse' for wherever the mouse is -->
457 </position>
458
459 <focus>yes</focus>
460 <!-- if the window should try be given focus when it appears -->
461
462 <desktop>1</desktop>
463 <!-- 1 is the first desktop, 'all' for all desktops -->
464
465 <layer>normal</layer>
466 <!-- 'above', 'normal', or 'below' -->
467
468 <iconic>no</iconic>
469
470 <skip_pager>no</skip_pager>
471 <!-- asks to not be shown in pagers -->
472
473 <skip_taskbar>no</skip_taskbar>
474 <!-- asks to not be shown in taskbars. window cycling actions will also
475 skip past such windows -->
476
477 <fullscreen>yes</fullscreen>
478
479 <maximized>true</maximized>
480 <!-- 'Horizontal', 'Vertical' or boolean (yes/no/on/off/true/false) -->
481 </application>
482 </applications>
483 -->
484
485 </openbox_config>
This page took 0.055018 seconds and 3 git commands to generate.