Kieran's opinionated (and probably slightly dumb) nix config
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Do not edit this file, it will be overwritten on install.
3 Copy the file to $HOME/.config/openbox/ instead. -->
4<openbox_config xmlns="http://openbox.org/3.4/rc">
5 <resistance>
6 <strength>10</strength>
7 <screen_edge_strength>20</screen_edge_strength>
8 </resistance>
9 <focus>
10 <focusNew>yes</focusNew>
11 <!-- always try to focus new windows when they appear. other rules do
12 apply -->
13 <followMouse>no</followMouse>
14 <!-- move focus to a window when you move the mouse into it -->
15 <focusLast>yes</focusLast>
16 <!-- focus the last used window when changing desktops, instead of the one
17 under the mouse pointer. when followMouse is enabled -->
18 <underMouse>no</underMouse>
19 <!-- move focus under the mouse, even when the mouse is not moving -->
20 <focusDelay>200</focusDelay>
21 <!-- when followMouse is enabled, the mouse must be inside the window for
22 this many milliseconds (1000 = 1 sec) before moving focus to it -->
23 <raiseOnFocus>no</raiseOnFocus>
24 <!-- when followMouse is enabled, and a window is given focus by moving the
25 mouse into it, also raise the window -->
26 <focusDesktop>yes</focusDesktop>
27 <!-- when no window on screen, focus the desktop to allow Orca keyboard
28 events to happen -->
29 </focus>
30 <placement>
31 <policy>Smart</policy>
32 <!-- 'Smart' or 'UnderMouse' -->
33 <center>yes</center>
34 <!-- whether to place windows in the center of the free area found or
35 the top left corner -->
36 <monitor>Any</monitor>
37 <!-- with Smart placement on a multi-monitor system, try to place new windows
38 on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
39 the active window is -->
40 <primaryMonitor/>
41 </placement>
42 <theme>
43 <name>PiXflat</name>
44 <titleLayout>LIMC</titleLayout>
45 <!--
46 available characters are NDSLIMC, each can occur at most once.
47 N: window icon
48 L: window label (AKA title).
49 I: iconify
50 M: maximize
51 C: close
52 S: shade (roll up/down)
53 D: omnipresent (on all desktops).
54 -->
55 <keepBorder>yes</keepBorder>
56 <roundCorners>yes</roundCorners>
57 <invisibleHandles>yes</invisibleHandles>
58 <animateIconify>yes</animateIconify>
59 <font place="ActiveWindow">
60 <name>PibotoLt</name>
61 <size>12</size>
62 <!-- font size in points -->
63 <weight>Normal</weight>
64 <!-- 'bold' or 'normal' -->
65 <slant>Normal</slant>
66 <!-- 'italic' or 'normal' -->
67 </font>
68 <font place="InactiveWindow">
69 <name>PibotoLt</name>
70 <size>12</size>
71 <!-- font size in points -->
72 <weight>Normal</weight>
73 <!-- 'bold' or 'normal' -->
74 <slant>Normal</slant>
75 <!-- 'italic' or 'normal' -->
76 </font>
77 <font place="MenuHeader">
78 <name>PibotoLt</name>
79 <size>12</size>
80 <!-- font size in points -->
81 <weight>Normal</weight>
82 <!-- 'bold' or 'normal' -->
83 <slant>Normal</slant>
84 <!-- 'italic' or 'normal' -->
85 </font>
86 <font place="MenuItem">
87 <name>PibotoLt</name>
88 <size>12</size>
89 <!-- font size in points -->
90 <weight>Normal</weight>
91 <!-- 'bold' or 'normal' -->
92 <slant>Normal</slant>
93 <!-- 'italic' or 'normal' -->
94 </font>
95 <font place="ActiveOnScreenDisplay">
96 <name>PibotoLt</name>
97 <size>12</size>
98 <weight>Normal</weight>
99 <slant>Normal</slant>
100 </font>
101 <font place="InactiveOnScreenDisplay">
102 <name>PibotoLt</name>
103 <size>12</size>
104 <weight>Normal</weight>
105 <slant>Normal</slant>
106 </font>
107 </theme>
108 <desktops>
109 <!-- this stuff is only used at startup, pagers allow you to change them
110 during a session
111
112 these are default values to use when other ones are not already set
113 by other applications, or saved in your session
114
115 use obconf if you want to change these without having to log out
116 and back in -->
117 <number>1</number>
118 <firstdesk>1</firstdesk>
119 <names>
120 <!-- set names up here if you want to, like this:
121 <name>desktop 1</name>
122 <name>desktop 2</name>
123 -->
124 </names>
125 <popupTime>875</popupTime>
126 <!-- The number of milliseconds to show the popup for when switching
127 desktops. Set this to 0 to disable the popup. -->
128 </desktops>
129 <resize>
130 <drawContents>no</drawContents>
131 <popupShow>Nonpixel</popupShow>
132 <!-- 'Always', 'Never', or 'Nonpixel' (xterms and such) -->
133 <popupPosition>Center</popupPosition>
134 <!-- 'Center', 'Top', or 'Fixed' -->
135 <popupFixedPosition>
136 <!-- these are used if popupPosition is set to 'Fixed' -->
137 <x>10</x>
138 <!-- positive number for distance from left edge, negative number for
139 distance from right edge, or 'Center' -->
140 <y>10</y>
141 <!-- positive number for distance from top edge, negative number for
142 distance from bottom edge, or 'Center' -->
143 </popupFixedPosition>
144 </resize>
145 <!-- You can reserve a portion of your screen where windows will not cover when
146 they are maximized, or when they are initially placed.
147 Many programs reserve space automatically, but you can use this in other
148 cases. -->
149 <margins>
150 <top>0</top>
151 <bottom>0</bottom>
152 <left>0</left>
153 <right>0</right>
154 </margins>
155 <dock>
156 <position>TopLeft</position>
157 <!-- (Top|Bottom)(Left|Right|)|Top|Bottom|Left|Right|Floating -->
158 <floatingX>0</floatingX>
159 <floatingY>0</floatingY>
160 <noStrut>no</noStrut>
161 <stacking>Above</stacking>
162 <!-- 'Above', 'Normal', or 'Below' -->
163 <direction>Vertical</direction>
164 <!-- 'Vertical' or 'Horizontal' -->
165 <autoHide>no</autoHide>
166 <hideDelay>300</hideDelay>
167 <!-- in milliseconds (1000 = 1 second) -->
168 <showDelay>300</showDelay>
169 <!-- in milliseconds (1000 = 1 second) -->
170 <moveButton>Middle</moveButton>
171 <!-- 'Left', 'Middle', 'Right' -->
172 </dock>
173 <keyboard>
174 <chainQuitKey>C-g</chainQuitKey>
175 <!-- Keybindings for desktop switching -->
176 <keybind key="C-A-Left">
177 <action name="UnmaximizeFull"/>
178 <action name="MaximizeVert"/>
179 <action name="MoveResizeTo">
180 <width>50%</width>
181 </action>
182 <action name="MoveToEdge"><direction>west</direction></action>
183 </keybind>
184 <keybind key="C-A-Right">
185 <action name="UnmaximizeFull"/>
186 <action name="MaximizeVert"/>
187 <action name="MoveResizeTo">
188 <width>50%</width>
189 </action>
190 <action name="MoveToEdge"><direction>east</direction></action>
191 </keybind>
192 <keybind key="C-A-Down">
193 <action name="Unmaximize"/>
194 </keybind>
195 <keybind key="C-A-Up">
196 <action name="Maximize"/>
197 </keybind>
198 <keybind key="S-A-Left">
199 <action name="SendToDesktopLeft">
200 <dialog>no</dialog>
201 <wrap>no</wrap>
202 </action>
203 </keybind>
204 <keybind key="S-A-Right">
205 <action name="SendToDesktopRight">
206 <dialog>no</dialog>
207 <wrap>no</wrap>
208 </action>
209 </keybind>
210 <keybind key="S-A-Up">
211 <action name="SendToDesktopUp">
212 <dialog>no</dialog>
213 <wrap>no</wrap>
214 </action>
215 </keybind>
216 <keybind key="S-A-Down">
217 <action name="SendToDesktopDown">
218 <dialog>no</dialog>
219 <wrap>no</wrap>
220 </action>
221 </keybind>
222 <keybind key="C-A-d">
223 <action name="ToggleShowDesktop"/>
224 </keybind>
225 <!-- Keybindings for windows -->
226 <keybind key="A-F4">
227 <action name="Close"/>
228 </keybind>
229 <keybind key="Super-Q">
230 <action name="Close"/>
231 </keybind>
232 <keybind key="A-Escape">
233 <action name="Lower"/>
234 <action name="FocusToBottom"/>
235 <action name="Unfocus"/>
236 </keybind>
237 <keybind key="A-space">
238 <action name="ShowMenu">
239 <menu>client-menu</menu>
240 </action>
241 </keybind>
242 <!-- Keybindings for window switching -->
243 <keybind key="A-Tab">
244 <action name="NextWindow"/>
245 </keybind>
246 <keybind key="A-S-Tab">
247 <action name="PreviousWindow"/>
248 </keybind>
249 <keybind key="C-A-Tab">
250 <action name="NextWindow">
251 <panels>yes</panels>
252 <desktop>yes</desktop>
253 </action>
254 </keybind>
255 <!-- Keybindings for running applications -->
256 <keybind key="Print">
257 <action name="Execute">
258 <command>scrot</command>
259 </action>
260 </keybind>
261 <keybind key="C-A-T">
262 <action name="Execute">
263 <command>x-terminal-emulator</command>
264 </action>
265 </keybind>
266 <keybind key="Super-Enter">
267 <action name="Execute">
268 <command>alacritty</command>
269 </action>
270 </keybind>
271 <!--keybindings for LXPanel -->
272 <keybind key="Super_L">
273 <action name="Execute">
274 <command>lxpanelctl menu</command>
275 </action>
276 </keybind>
277 <keybind key="A-F2">
278 <action name="Execute">
279 <command>lxpanelctl run</command>
280 </action>
281 </keybind>
282 <keybind key="C-Escape">
283 <action name="Execute">
284 <command>lxpanelctl menu</command>
285 </action>
286 </keybind>
287 <keybind key="C-A-S">
288 <action name="Execute">
289 <command>lxpanelctl move</command>
290 </action>
291 </keybind>
292 <keybind key="C-A-B">
293 <action name="Execute">
294 <command>lxpanelctl command bluetooth menu</command>
295 </action>
296 </keybind>
297 <keybind key="C-A-W">
298 <action name="Execute">
299 <command>lxpanelctl command netman menu</command>
300 </action>
301 </keybind>
302 <keybind key="A-F11">
303 <action name="ToggleFullscreen"/>
304 </keybind>
305 <keybind key="C-A-M">
306 <action name="Execute">
307 <command>lxpanelctl command magnifier toggle</command>
308 </action>
309 </keybind>
310 <!-- Launch Task Manager with Ctrl+Shift+Escape -->
311 <keybind key="C-S-Escape">
312 <action name="Execute">
313 <command>lxtask</command>
314 </action>
315 </keybind>
316 <!-- Keybindings for audio volume media keys -->
317 <keybind key="XF86AudioRaiseVolume">
318 <action name="Execute">
319 <command>sh -c "lxpanelctl command volumepulse volu; lxpanelctl command volumealsabt volu"</command>
320 </action>
321 </keybind>
322 <keybind key="XF86AudioLowerVolume">
323 <action name="Execute">
324 <command>sh -c "lxpanelctl command volumepulse vold; lxpanelctl command volumealsabt vold"</command>
325 </action>
326 </keybind>
327 <keybind key="XF86AudioMute">
328 <action name="Execute">
329 <command>sh -c "lxpanelctl command volumepulse mute; lxpanelctl command volumealsabt mute"</command>
330 </action>
331 </keybind>
332 <!-- Keybindings for pitop -->
333 <keybind key="0xC6">
334 <action name="Execute">
335 <command>sh -c "if test -e /usr/bin/pt-brightness; then /usr/bin/pt-brightness -d; fi"</command>
336 </action>
337 </keybind>
338 <keybind key="0xC7">
339 <action name="Execute">
340 <command>sh -c "if test -e /usr/bin/pt-brightness; then /usr/bin/pt-brightness -i; fi"</command>
341 </action>
342 </keybind>
343 <keybind key="0xC8">
344 <action name="Execute">
345 <command>pcmanfm</command>
346 </action>
347 </keybind>
348 <keybind key="0xC9">
349 <action name="Execute">
350 <command>lxterminal</command>
351 </action>
352 </keybind>
353 <keybind key="C-A-End">
354 <action name="Execute">
355 <command>pishutdown</command>
356 </action>
357 </keybind>
358 <keybind key="C-A-Delete">
359 <action name="Execute">
360 <command>pishutdown</command>
361 </action>
362 </keybind>
363 <keybind key="XF86PowerOff">
364 <action name="Execute">
365 <command>pwrkey</command>
366 </action>
367 </keybind>
368 <keybind key="C-A-space">
369 <action name="Execute">
370 <command>gui-pkinst orca reboot</command>
371 </action>
372 </keybind>
373 </keyboard>
374 <mouse>
375 <dragThreshold>8</dragThreshold>
376 <!-- number of pixels the mouse must move before a drag begins -->
377 <doubleClickTime>200</doubleClickTime>
378 <!-- in milliseconds (1000 = 1 second) -->
379 <screenEdgeWarpTime>400</screenEdgeWarpTime>
380 <!-- Time before changing desktops when the pointer touches the edge of the
381 screen while moving a window, in milliseconds (1000 = 1 second).
382 Set this to 0 to disable warping -->
383 <context name="Frame">
384 <mousebind button="A-Left" action="Press">
385 <action name="Focus"/>
386 <action name="Raise"/>
387 </mousebind>
388 <mousebind button="A-Left" action="Click">
389 <action name="Unshade"/>
390 </mousebind>
391 <mousebind button="A-Left" action="Drag">
392 <action name="Move"/>
393 </mousebind>
394 <mousebind button="A-Right" action="Press">
395 <action name="Focus"/>
396 <action name="Raise"/>
397 <action name="Unshade"/>
398 </mousebind>
399 <mousebind button="A-Right" action="Drag">
400 <action name="Resize"/>
401 </mousebind>
402 <mousebind button="A-Middle" action="Press">
403 <action name="Lower"/>
404 <action name="FocusToBottom"/>
405 <action name="Unfocus"/>
406 </mousebind>
407 <mousebind button="A-Up" action="Click">
408 <action name="DesktopPrevious"/>
409 </mousebind>
410 <mousebind button="A-Down" action="Click">
411 <action name="DesktopNext"/>
412 </mousebind>
413 <mousebind button="C-A-Up" action="Click">
414 <action name="DesktopPrevious"/>
415 </mousebind>
416 <mousebind button="C-A-Down" action="Click">
417 <action name="DesktopNext"/>
418 </mousebind>
419 <mousebind button="A-S-Up" action="Click">
420 <action name="SendToDesktopPrevious"/>
421 </mousebind>
422 <mousebind button="A-S-Down" action="Click">
423 <action name="SendToDesktopNext"/>
424 </mousebind>
425 </context>
426 <context name="Titlebar">
427 <mousebind button="Left" action="Press">
428 <action name="Focus"/>
429 <action name="Raise"/>
430 </mousebind>
431 <mousebind button="Left" action="Drag">
432 <action name="Move"/>
433 </mousebind>
434 <mousebind button="Left" action="DoubleClick">
435 <action name="ToggleMaximizeFull"/>
436 </mousebind>
437 <mousebind button="Middle" action="Press">
438 <action name="Lower"/>
439 <action name="FocusToBottom"/>
440 <action name="Unfocus"/>
441 </mousebind>
442 <mousebind button="Right" action="Press">
443 <action name="Focus"/>
444 <action name="Raise"/>
445 <action name="ShowMenu">
446 <menu>client-menu</menu>
447 </action>
448 </mousebind>
449 </context>
450 <context name="Top">
451 <mousebind button="Left" action="Press">
452 <action name="Focus"/>
453 <action name="Raise"/>
454 <action name="Unshade"/>
455 </mousebind>
456 <mousebind button="Left" action="Drag">
457 <action name="Resize">
458 <edge>top</edge>
459 </action>
460 </mousebind>
461 </context>
462 <context name="Left">
463 <mousebind button="Left" action="Press">
464 <action name="Focus"/>
465 <action name="Raise"/>
466 </mousebind>
467 <mousebind button="Left" action="Drag">
468 <action name="Resize">
469 <edge>left</edge>
470 </action>
471 </mousebind>
472 </context>
473 <context name="Right">
474 <mousebind button="Left" action="Press">
475 <action name="Focus"/>
476 <action name="Raise"/>
477 </mousebind>
478 <mousebind button="Left" action="Drag">
479 <action name="Resize">
480 <edge>right</edge>
481 </action>
482 </mousebind>
483 </context>
484 <context name="Bottom">
485 <mousebind button="Left" action="Press">
486 <action name="Focus"/>
487 <action name="Raise"/>
488 </mousebind>
489 <mousebind button="Left" action="Drag">
490 <action name="Resize">
491 <edge>bottom</edge>
492 </action>
493 </mousebind>
494 <mousebind button="Middle" action="Press">
495 <action name="Lower"/>
496 <action name="FocusToBottom"/>
497 <action name="Unfocus"/>
498 </mousebind>
499 <mousebind button="Right" action="Press">
500 <action name="Focus"/>
501 <action name="Raise"/>
502 <action name="ShowMenu">
503 <menu>client-menu</menu>
504 </action>
505 </mousebind>
506 </context>
507 <context name="BLCorner">
508 <mousebind button="Left" action="Press">
509 <action name="Focus"/>
510 <action name="Raise"/>
511 </mousebind>
512 <mousebind button="Left" action="Drag">
513 <action name="Resize"/>
514 </mousebind>
515 </context>
516 <context name="BRCorner">
517 <mousebind button="Left" action="Press">
518 <action name="Focus"/>
519 <action name="Raise"/>
520 </mousebind>
521 <mousebind button="Left" action="Drag">
522 <action name="Resize"/>
523 </mousebind>
524 </context>
525 <context name="TLCorner">
526 <mousebind button="Left" action="Press">
527 <action name="Focus"/>
528 <action name="Raise"/>
529 <action name="Unshade"/>
530 </mousebind>
531 <mousebind button="Left" action="Drag">
532 <action name="Resize"/>
533 </mousebind>
534 </context>
535 <context name="TRCorner">
536 <mousebind button="Left" action="Press">
537 <action name="Focus"/>
538 <action name="Raise"/>
539 <action name="Unshade"/>
540 </mousebind>
541 <mousebind button="Left" action="Drag">
542 <action name="Resize"/>
543 </mousebind>
544 </context>
545 <context name="Client">
546 <mousebind button="Left" action="Press">
547 <action name="Focus"/>
548 <action name="Raise"/>
549 </mousebind>
550 <mousebind button="Middle" action="Press">
551 <action name="Focus"/>
552 <action name="Raise"/>
553 </mousebind>
554 <mousebind button="Right" action="Press">
555 <action name="Focus"/>
556 <action name="Raise"/>
557 </mousebind>
558 </context>
559 <context name="Icon">
560 <mousebind button="Left" action="Press">
561 <action name="Focus"/>
562 <action name="Raise"/>
563 <action name="Unshade"/>
564 <action name="ShowMenu">
565 <menu>client-menu</menu>
566 </action>
567 </mousebind>
568 <mousebind button="Right" action="Press">
569 <action name="Focus"/>
570 <action name="Raise"/>
571 <action name="ShowMenu">
572 <menu>client-menu</menu>
573 </action>
574 </mousebind>
575 </context>
576 <context name="AllDesktops">
577 <mousebind button="Left" action="Press">
578 <action name="Focus"/>
579 <action name="Raise"/>
580 <action name="Unshade"/>
581 </mousebind>
582 <mousebind button="Left" action="Click">
583 <action name="ToggleOmnipresent"/>
584 </mousebind>
585 </context>
586 <context name="Shade">
587 <mousebind button="Left" action="Press">
588 <action name="Focus"/>
589 <action name="Raise"/>
590 </mousebind>
591 <mousebind button="Left" action="Click">
592 <action name="ToggleShade"/>
593 </mousebind>
594 </context>
595 <context name="Iconify">
596 <mousebind button="Left" action="Press">
597 <action name="Focus"/>
598 <action name="Raise"/>
599 </mousebind>
600 <mousebind button="Left" action="Click">
601 <action name="Iconify"/>
602 </mousebind>
603 </context>
604 <context name="Maximize">
605 <mousebind button="Left" action="Press">
606 <action name="Focus"/>
607 <action name="Raise"/>
608 <action name="Unshade"/>
609 </mousebind>
610 <mousebind button="Middle" action="Press">
611 <action name="Focus"/>
612 <action name="Raise"/>
613 <action name="Unshade"/>
614 </mousebind>
615 <mousebind button="Right" action="Press">
616 <action name="Focus"/>
617 <action name="Raise"/>
618 <action name="Unshade"/>
619 </mousebind>
620 <mousebind button="Left" action="Click">
621 <action name="ToggleMaximizeFull"/>
622 </mousebind>
623 <mousebind button="Middle" action="Click">
624 <action name="ToggleMaximizeVert"/>
625 </mousebind>
626 <mousebind button="Right" action="Click">
627 <action name="ToggleMaximizeHorz"/>
628 </mousebind>
629 </context>
630 <context name="Close">
631 <mousebind button="Left" action="Press">
632 <action name="Focus"/>
633 <action name="Raise"/>
634 <action name="Unshade"/>
635 </mousebind>
636 <mousebind button="Left" action="Click">
637 <action name="Close"/>
638 </mousebind>
639 </context>
640 <context name="Desktop">
641 <mousebind button="Up" action="Click">
642 <action name="DesktopPrevious"/>
643 </mousebind>
644 <mousebind button="Down" action="Click">
645 <action name="DesktopNext"/>
646 </mousebind>
647 <mousebind button="A-Up" action="Click">
648 <action name="DesktopPrevious"/>
649 </mousebind>
650 <mousebind button="A-Down" action="Click">
651 <action name="DesktopNext"/>
652 </mousebind>
653 <mousebind button="C-A-Up" action="Click">
654 <action name="DesktopPrevious"/>
655 </mousebind>
656 <mousebind button="C-A-Down" action="Click">
657 <action name="DesktopNext"/>
658 </mousebind>
659 <mousebind button="Left" action="Press">
660 <action name="Focus"/>
661 <action name="Raise"/>
662 </mousebind>
663 <mousebind button="Right" action="Press">
664 <action name="Focus"/>
665 <action name="Raise"/>
666 </mousebind>
667 </context>
668 <context name="Root">
669 <!-- Menus -->
670 <mousebind button="Middle" action="Press">
671 <action name="ShowMenu">
672 <menu>client-list-combined-menu</menu>
673 </action>
674 </mousebind>
675 <mousebind button="Right" action="Press">
676 <action name="ShowMenu">
677 <menu>root-menu</menu>
678 </action>
679 </mousebind>
680 </context>
681 <context name="MoveResize">
682 <mousebind button="Up" action="Click">
683 <action name="DesktopPrevious"/>
684 </mousebind>
685 <mousebind button="Down" action="Click">
686 <action name="DesktopNext"/>
687 </mousebind>
688 <mousebind button="A-Up" action="Click">
689 <action name="DesktopPrevious"/>
690 </mousebind>
691 <mousebind button="A-Down" action="Click">
692 <action name="DesktopNext"/>
693 </mousebind>
694 </context>
695 </mouse>
696 <menu>
697 <!-- You can specify more than one menu file in here and they are all loaded,
698 just don't make menu ids clash or, well, it'll be kind of pointless -->
699 <!-- default menu file (or custom one in $HOME/.config/openbox/) -->
700 <file>/usr/share/lxde/openbox/menu.xml</file>
701 <hideDelay>200</hideDelay>
702 <!-- if a press-release lasts longer than this setting (in milliseconds), the
703 menu is hidden again -->
704 <middle>no</middle>
705 <!-- center submenus vertically about the parent entry -->
706 <submenuShowDelay>100</submenuShowDelay>
707 <!-- this one is easy, time to delay before showing a submenu after hovering
708 over the parent entry -->
709 <applicationIcons>yes</applicationIcons>
710 <!-- controls if icons appear in the client-list-(combined-)menu -->
711 <manageDesktops>no</manageDesktops>
712 <!-- show the manage desktops section in the client-list-(combined-)menu -->
713 </menu>
714 <applications>
715 <application name="panel">
716 <skip_taskbar>yes</skip_taskbar>
717 <layer>above</layer>
718 </application>
719 <application name="panel" type="dock">
720 <layer>below</layer>
721 </application>
722
723 <!--
724 # this is an example with comments through out. use these to make your
725 # own rules, but without the comments of course.
726
727 <application name="first element of window's WM_CLASS property (see xprop)"
728 class="second element of window's WM_CLASS property (see xprop)"
729 role="the window's WM_WINDOW_ROLE property (see xprop)">
730 # the name or the class can be set, or both. this is used to match
731 # windows when they appear. role can optionally be set as well, to
732 # further restrict your matches.
733
734 # the name, class, and role use simple wildcard matching such as those
735 # used by a shell. you can use * to match any characters and ? to match
736 # any single character.
737
738 # when multiple rules match a window, they will all be applied, in the
739 # order that they appear in this list
740
741
742 # each element can be left out or set to 'default' to specify to not
743 # change that attribute of the window
744
745 <decor>yes</decor>
746 # enable or disable window decorations
747
748 <shade>no</shade>
749 # make the window shaded when it appears, or not
750
751 <position>
752 # the position is only used if both an x and y coordinate are provided
753 # (and not set to 'default')
754 <x>center</x>
755 # a number like 50, or 'center' to center on screen. use a negative number
756 # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
757 # right edge (or bottom).
758 <y>200</y>
759 <monitor>1</monitor>
760 # specifies the monitor in a xinerama setup.
761 # 1 is the first head, or 'mouse' for wherever the mouse is
762 </position>
763
764 <focus>yes</focus>
765 # if the window should try be given focus when it appears. if this is set
766 # to yes it doesn't guarantee the window will be given focus. some
767 # restrictions may apply, but Openbox will try to
768
769 <desktop>1</desktop>
770 # 1 is the first desktop, 'all' for all desktops
771
772 <layer>normal</layer>
773 # 'above', 'normal', or 'below'
774
775 <iconic>no</iconic>
776 # make the window iconified when it appears, or not
777
778 <skip_pager>no</skip_pager>
779 # asks to not be shown in pagers
780
781 <skip_taskbar>no</skip_taskbar>
782 # asks to not be shown in taskbars. window cycling actions will also
783 # skip past such windows
784
785 <fullscreen>yes</fullscreen>
786 # make the window in fullscreen mode when it appears
787
788 <maximized>true</maximized>
789 # 'Horizontal', 'Vertical' or boolean (yes/no)
790 </application>
791
792 # end of the example
793-->
794 </applications>
795</openbox_config>