menu.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openbox_menu>
  3. <!-- Note: for localization support of menu items "client-menu" has to be removed here -->
  4. <menu id="client-menu">
  5. <item label="Minimize">
  6. <action name="Iconify" />
  7. </item>
  8. <item label="Maximize">
  9. <action name="ToggleMaximize" />
  10. </item>
  11. <item label="Fullscreen">
  12. <action name="ToggleFullscreen" />
  13. </item>
  14. <item label="Roll Up/Down">
  15. <action name="ToggleShade" />
  16. </item>
  17. <item label="Decorations">
  18. <action name="ToggleDecorations" />
  19. </item>
  20. <item label="Always on Top">
  21. <action name="ToggleAlwaysOnTop" />
  22. </item>
  23. <!--
  24. Any menu with the id "workspaces" will be hidden
  25. if there is only a single workspace available.
  26. -->
  27. <menu id="workspaces" label="Workspace">
  28. <item label="Move Left">
  29. <action name="SendToDesktop" to="left" />
  30. </item>
  31. <item label="Move Right">
  32. <action name="SendToDesktop" to="right" />
  33. </item>
  34. <separator />
  35. <item label="Always on Visible Workspace">
  36. <action name="ToggleOmnipresent" />
  37. </item>
  38. </menu>
  39. <!--
  40. openbox default workspace selector
  41. to use replace above workspace menu with the example below
  42. the label is required, but you can change the text.
  43. <menu id="client-send-to-menu" label="Send to..." />
  44. -->
  45. <item label="Close">
  46. <action name="Close" />
  47. </item>
  48. </menu>
  49. <menu id="root-menu">
  50. <!-- Make client-list-combined-menu a submenu of root-menu
  51. You must supply a label or it will not appear in root-menu -->
  52. <!--
  53. <menu id="client-list-combined-menu" label="Running..." />
  54. -->
  55. <item label="Web browser">
  56. <action name="Execute" command="netsurf" />
  57. </item>
  58. <item label="Terminal">
  59. <action name="Execute" command="foot" />
  60. </item>
  61. <item label="File manager">
  62. <action name="Execute" command="pcmanfm-qt" />
  63. </item>
  64. <!--
  65. <item label="Reconfigure">
  66. <action name="Reconfigure" />
  67. </item>
  68. -->
  69. <item label="Exit">
  70. <action name="Exit" />
  71. </item>
  72. <item label="Poweroff">
  73. <action name="Execute" command="systemctl -i poweroff" />
  74. </item>
  75. </menu>
  76. <menu id="some-custom-menu">
  77. <!--
  78. Creates menu title.
  79. To create an empty header with no text,
  80. set label=" ", not label=""
  81. -->
  82. <separator label="custom menu" />
  83. <!--
  84. <item label="Reconfigure">
  85. <action name="Reconfigure" />
  86. </item>
  87. -->
  88. <item label="Exit">
  89. <action name="Exit" />
  90. </item>
  91. </menu>
  92. </openbox_menu>