rc.xml 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
  3. <resistance><strength>15</strength><screen_edge_strength>40</screen_edge_strength></resistance>
  4. <focus><focusNew>yes</focusNew><followMouse>no</followMouse></focus>
  5. <placement><policy>Smart</policy><center>yes</center><monitor>Active</monitor><primaryMonitor>Active</primaryMonitor></placement>
  6. <desktops><number>3</number><firstdesk>1</firstdesk><popupTime>1000</popupTime></desktops>
  7. <resize><drawContents>yes</drawContents><popupShow>Nonpixel</popupShow><popupPosition>Center</popupPosition></resize>
  8. <menu><file>menu.xml</file><hideDelay>200</hideDelay><middle>no</middle><submenuShowDelay>100</submenuShowDelay><submenuHideDelay>400</submenuHideDelay><applicationIcons>yes</applicationIcons><manageDesktops>no</manageDesktops></menu>
  9. <margins><top>0</top><bottom>0</bottom><left>0</left><right>0</right></margins>
  10. <dock><position>TopLeft</position><floatingX>0</floatingX><floatingY>0</floatingY><noStrut>no</noStrut><stacking>Above</stacking><direction>Vertical</direction><autoHide>no</autoHide><hideDelay>300</hideDelay><showDelay>300</showDelay><moveButton>Middle</moveButton></dock>
  11. <theme>
  12. <name>Onyx-Citrus</name>
  13. <titleLayout>NLIMC</titleLayout>
  14. <keepBorder>no</keepBorder>
  15. <animateIconify>yes</animateIconify>
  16. <font place="ActiveWindow"><name>ForMateKonaVe</name><size>8</size><weight>bold</weight><slant>normal</slant></font>
  17. <font place="InactiveWindow"><name>ForMateKonaVe</name><size>8</size><weight>bold</weight><slant>normal</slant></font>
  18. <font place="MenuHeader"><name>ForMateKonaVe</name><size>9</size><weight>normal</weight><slant>normal</slant></font>
  19. <font place="MenuItem"><name>ForMateKonaVe</name><size>9</size><weight>normal</weight><slant>normal</slant></font>
  20. <font place="ActiveOnScreenDisplay"><name>ForMateKonaVe</name><size>9</size><weight>bold</weight><slant>normal</slant></font>
  21. <font place="InactiveOnScreenDisplay"><name>ForMateKonaVe</name><size>9</size><weight>bold</weight><slant>normal</slant></font>
  22. </theme>
  23. <keyboard>
  24. <keybind key="A-F4"><action name="Close"/></keybind>
  25. <keybind key="W-Down"><action name="Iconify"/></keybind>
  26. <keybind key="W-Tab"><action name="ShowMenu"><menu>root-menu</menu></action></keybind>
  27. <keybind key="A-space"><action name="ShowMenu"><menu>client-menu</menu></action></keybind>
  28. <keybind key="A-Escape"><action name="Lower"/><action name="FocusToBottom"/><action name="Unfocus"/></keybind>
  29. <keybind key="A-Tab"><action name="NextWindow"><finalactions><action name="Focus"/><action name="Raise"/><action name="Unshade"/></finalactions></action></keybind>
  30. <keybind key="A-S-Tab"><action name="PreviousWindow"><finalactions><action name="Focus"/><action name="Raise"/><action name="Unshade"/></finalactions></action></keybind>
  31. <keybind key="W-Up"><action name="ToggleMaximizeFull"/></keybind>
  32. <keybind key="W-C-Up"><action name="ToggleMaximizeFull"/></keybind>
  33. <keybind key="W-Right"><action name="MoveResizeTo"><monitor>next</monitor></action></keybind>
  34. <keybind key="W-Left"><action name="MoveResizeTo"><monitor>prev</monitor></action></keybind>
  35. <keybind key="W-C-Right"><action name="Unmaximize"/><action name="MoveResizeTo"><width>50%</width><height>100%</height><x>-0</x><y>0</y><monitor>current</monitor></action></keybind>
  36. <keybind key="W-C-Left"><action name="Unmaximize"/><action name="MoveResizeTo"><width>50%</width><height>100%</height><x>0</x><y>0</y><monitor>current</monitor></action></keybind>
  37. <keybind key="C-A-Right"><action name="GoToDesktop"><to>right</to><wrap>no</wrap></action></keybind>
  38. <keybind key="C-A-Left"><action name="GoToDesktop"><to>left</to><wrap>no</wrap></action></keybind>
  39. <keybind key="S-A-Right"><action name="SendToDesktop"><to>right</to><wrap>no</wrap></action></keybind>
  40. <keybind key="S-A-Left"><action name="SendToDesktop"><to>left</to><wrap>no</wrap></action></keybind>
  41. <keybind key="XF86MonBrightnessUp"><action name="Execute"><command>xbacklight -inc 5</command></action></keybind>
  42. <keybind key="XF86MonBrightnessDown"><action name="Execute"><command>xbacklight -dec 5</command></action></keybind>
  43. <keybind key="XF86AudioRaiseVolume"><action name="Execute"><command>pash increase</command></action></keybind>
  44. <keybind key="XF86AudioLowerVolume"><action name="Execute"><command>pash decrease</command></action></keybind>
  45. <keybind key="XF86AudioMute"><action name="Execute"><command>pash mute</command></action></keybind>
  46. <keybind key="XF86AudioPlay"><action name="Execute"><command>mpv-control p</command></action></keybind>
  47. <keybind key="XF86AudioPrev"><action name="Execute"><command>mpv-control less</command></action></keybind>
  48. <keybind key="XF86AudioNext"><action name="Execute"><command>mpv-control greater</command></action></keybind>
  49. <keybind key="W-S-3"><action name="Execute"><command>screenshot</command></action></keybind>
  50. <keybind key="W-S-4"><action name="Execute"><command>screenshot-selection</command></action></keybind>
  51. <keybind key="W-grave"><action name="Execute"><execute>urxvtq</execute></action></keybind>
  52. <keybind key="W-space"><action name="Execute"><command>gmrun</command></action></keybind>
  53. <keybind key="A-F2"><action name="Execute"><command>gmrun</command></action></keybind>
  54. <keybind key="W-w"><action name="Execute"><command>firefox</command></action></keybind>
  55. <keybind key="W-t"><action name="Execute"><command>urxvt</command></action></keybind>
  56. <keybind key="W-e"><action name="Execute"><command>subl</command></action></keybind>
  57. <keybind key="W-b"><action name="Execute"><command>pcmanfm</command></action></keybind>
  58. <keybind key="W-x"><action name="Exit"><prompt>no</prompt></action></keybind>
  59. </keyboard>
  60. <mouse>
  61. <dragThreshold>5</dragThreshold>
  62. <doubleClickTime>200</doubleClickTime>
  63. <screenEdgeWarpTime>400</screenEdgeWarpTime>
  64. <context name="Root Desktop">
  65. <mousebind button="Right" action="Press"><action name="ShowMenu"><menu>root-menu</menu></action></mousebind>
  66. </context>
  67. <context name="Client">
  68. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/></mousebind>
  69. <mousebind button="Middle" action="Press"><action name="Focus"/><action name="Raise"/></mousebind>
  70. <mousebind button="Right" action="Press"><action name="Focus"/><action name="Raise"/></mousebind>
  71. </context>
  72. <context name="Titlebar">
  73. <mousebind button="Left" action="Drag"><action name="Move"/></mousebind>
  74. <mousebind button="Left" action="DoubleClick"><action name="ToggleMaximize"/></mousebind>
  75. <mousebind button="Right" action="Press"><action name="Focus"/><action name="Raise"/><action name="ShowMenu"><menu>client-menu</menu></action></mousebind>
  76. </context>
  77. <context name="Top Left Right Bottom TRCorner BRCorner TLCorner BLCorner">
  78. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/><action name="Unshade"/></mousebind>
  79. <mousebind button="Left" action="Drag"><action name="Resize"/></mousebind>
  80. </context>
  81. <context name="Icon">
  82. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/><action name="ShowMenu"><menu>client-menu</menu></action></mousebind>
  83. <mousebind button="Right" action="Press"><action name="Focus"/><action name="Raise"/><action name="ShowMenu"><menu>client-menu</menu></action></mousebind>
  84. </context>
  85. <context name="Iconify">
  86. <mousebind button="Left" action="Click"><action name="Iconify"/></mousebind>
  87. </context>
  88. <context name="Maximize">
  89. <mousebind button="Left" action="Click"><action name="ToggleMaximize"/></mousebind>
  90. </context>
  91. <context name="Close">
  92. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/></mousebind>
  93. <mousebind button="Left" action="Click"><action name="Close"/></mousebind>
  94. </context>
  95. <context name="AllDesktops">
  96. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/><action name="Unshade"/></mousebind>
  97. <mousebind button="Left" action="Click"><action name="ToggleOmnipresent"/></mousebind>
  98. </context>
  99. <context name="Shade">
  100. <mousebind button="Left" action="Press"><action name="Focus"/><action name="Raise"/></mousebind>
  101. <mousebind button="Left" action="Click"><action name="ToggleShade"/></mousebind>
  102. </context>
  103. </mouse>
  104. <applications>
  105. <application name="urxvtq"><decor>no</decor><position force="yes"><x>center</x><y>0</y></position><desktop>all</desktop><layer>above</layer><skip_pager>yes</skip_pager><skip_taskbar>yes</skip_taskbar><maximized>Horizontal</maximized></application>
  106. </applications>
  107. </openbox_config>