menu.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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="Login manager">
  56. <action name="Execute" command="gtkgreet" />
  57. </item>
  58. <item label="Terminal">
  59. <action name="Execute" command="foot" />
  60. </item>
  61. <!--
  62. <item label="Reconfigure">
  63. <action name="Reconfigure" />
  64. </item>
  65. -->
  66. <item label="Poweroff">
  67. <action name="Execute" command="systemctl -i poweroff" />
  68. </item>
  69. </menu>
  70. <menu id="some-custom-menu">
  71. <!--
  72. Creates menu title.
  73. To create an empty header with no text,
  74. set label=" ", not label=""
  75. -->
  76. <separator label="custom menu" />
  77. <!--
  78. <item label="Reconfigure">
  79. <action name="Reconfigure" />
  80. </item>
  81. -->
  82. <item label="Poweroff">
  83. <action name="Execute" command="systemctl -i poweroff" />
  84. </item>
  85. </menu>
  86. </openbox_menu>