Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.01 KB | None | 0 0
  1.   <applications>
  2.     <!--
  3.        # this is an example with comments through out. use these to make your
  4.        # own rules, but without the comments of course.
  5.        # you may use one or more of the name/class/role/title/type rules to specify
  6.        # windows to match
  7.  
  8. <application name="the window's _OB_APP_NAME property (see obxprop)"
  9. class="the window's _OB_APP_CLASS property (see obxprop)"
  10. role="the window's _OB_APP_ROLE property (see obxprop)"
  11. title="the window's _OB_APP_TITLE property (see obxprop)"
  12. type="the window's _OB_APP_TYPE property (see obxprob)..
  13. (if unspecified, then it is 'dialog' for child windows)">
  14. # you may set only one of name/class/role/title/type, or you may use more
  15. # than one together to restrict your matches.
  16.  
  17. # the name, class, role, and title use simple wildcard matching such as those
  18. # used by a shell. you can use * to match any characters and ? to match
  19. # any single character.
  20.  
  21. # the type is one of: normal, dialog, splash, utility, menu, toolbar, dock,
  22. #    or desktop
  23.  
  24. # when multiple rules match a window, they will all be applied, in the
  25. # order that they appear in this list
  26.  
  27.  
  28. # each rule element can be left out or set to 'default' to specify to not
  29. # change that attribute of the window
  30.  
  31. <decor>yes</decor>
  32. # enable or disable window decorations
  33.  
  34. <shade>no</shade>
  35. # make the window shaded when it appears, or not
  36.  
  37. <position force="no">
  38. # the position is only used if both an x and y coordinate are provided
  39. # (and not set to 'default')
  40. # when force is "yes", then the window will be placed here even if it
  41. # says you want it placed elsewhere.  this is to override buggy
  42. # applications who refuse to behave
  43. <x>center</x>
  44. # a number like 50, or 'center' to center on screen. use a negative number
  45. # to start from the right (or bottom for <y>), ie -50 is 50 pixels from the
  46. # right edge (or bottom).
  47. <y>200</y>
  48. <monitor>1</monitor>
  49. # specifies the monitor in a xinerama setup.
  50. # 1 is the first head, or 'mouse' for wherever the mouse is
  51. </position>
  52.  
  53. <focus>yes</focus>
  54. # if the window should try be given focus when it appears. if this is set
  55. # to yes it doesn't guarantee the window will be given focus. some
  56. # restrictions may apply, but Openbox will try to
  57.  
  58. <desktop>1</desktop>
  59. # 1 is the first desktop, 'all' for all desktops
  60.  
  61. <layer>normal</layer>
  62. # 'above', 'normal', or 'below'
  63.  
  64. <iconic>no</iconic>
  65. # make the window iconified when it appears, or not
  66.  
  67. <skip_pager>no</skip_pager>
  68. # asks to not be shown in pagers
  69.  
  70. <skip_taskbar>no</skip_taskbar>
  71. # asks to not be shown in taskbars. window cycling actions will also
  72. # skip past such windows
  73.  
  74. <fullscreen>yes</fullscreen>
  75. # make the window in fullscreen mode when it appears
  76.  
  77. <maximized>true</maximized>
  78. # 'Horizontal', 'Vertical' or boolean (yes/no)
  79. </application>
  80.  
  81. # end of the example
  82.    -->
  83.     <application class="Gimp" name="gimp" role="gimp-toolbox" type="utility">
  84.       <maximized>vertical</maximized>
  85.     </application>
  86.     <application class="Gimp" name="gimp" role="gimp-dock" type="utility">
  87.       <maximized>vertical</maximized>
  88.     </application>
  89.     <application class="Gimp" name="gimp" role="gimp-image-window" type="normal">
  90.       <position force="no">
  91.         <x>center</x>
  92.         <y>center</y>
  93.       </position>
  94.     </application>
  95.  
  96.     <application class="Gimp" name="gimp-2.8" role="gimp-toolbox" type="utility">
  97.       <maximized>vertical</maximized>
  98.     </application>
  99.     <application class="Gimp" name="gimp-2.8" role="gimp-dock" type="utility">
  100.       <maximized>vertical</maximized>
  101.     </application>
  102.     <application class="Gimp" name="gimp-2.8" role="gimp-image-window" type="normal">
  103.       <position force="no">
  104.         <x>center</x>
  105.         <y>center</y>
  106.       </position>
  107.     </application>
  108.  
  109.     <application title="New Tab - Google Chrome">
  110.       <position>
  111.         <x>50%</x>
  112.         <y>center</y>
  113.       </position>
  114.       <maximized>vertical</maximized>
  115.       <size>
  116.         <width>50%</width>
  117.       </size>
  118.     </application>
  119.   </applications>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement