menu 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. # This is the default menu file for Blackbox 0.33.0 and up
  2. #
  3. # Lines beginning with the '#' character are ignored.
  4. #
  5. # The new syntax is simpler than the old X resource format...
  6. # Each menu item consists of 2 or 3 fields:
  7. #
  8. # [command] (label) {data}
  9. #
  10. # where [command] is one of:
  11. #
  12. # [begin] [end] [exec] [exit] [reconfig] [restart] [submenu]
  13. # [style] [stylesdir] [include] [workspaces] [config]
  14. #
  15. # [begin] is used for the top level menu
  16. # [submenu] is used for submenus
  17. # [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop
  18. # reading from the file.
  19. #
  20. # [exec] (label) {string}
  21. # This will insert an item that runs a program.
  22. #
  23. # [exit] (label)
  24. # This will insert an item that exits the window manager.
  25. #
  26. # [reconfig] (label) {string}
  27. # This will insert an item that tells blackbox to re-read it's configuration
  28. # files. {string} is optional, and if supplied, will execute the string with
  29. # /bin/sh -c before the reconfiguration is performed. (this is helpful for
  30. # writing multiple config files and switching between them)
  31. #
  32. # [restart] (label) {string}
  33. # This will insert an item to restart the window manager. {string} is
  34. # optional, and if omitted, blackbox will restart itself. If {string} is
  35. # specified, then a different window manager will be started.
  36. #
  37. # [style] (filename)
  38. # This will insert an item to reconfigure blackbox with the new style. This
  39. # change is saved when blackbox exits or restarts.
  40. #
  41. # [include] (filename)
  42. # This will read more menu items from the file "filename". The file cannot
  43. # contain a [begin] or [end], except for the [end] needed for submenus.
  44. #
  45. # [workspaces] (label)
  46. # This tells Blackbox to insert a "link" to the workspaces menu directly
  47. # into your menu.
  48. #
  49. # [config] (label)
  50. # This tells Blackbox to insert the ConfigMenu into your menu. The ConfigMenu
  51. # allows you to change several options found in your ~/.blackboxrc file on the
  52. # fly.
  53. #
  54. # example:
  55. [begin] (Blackbox)
  56. [exec] (xterm) {xterm -ls}
  57. [exec] (rxvt) {rxvt}
  58. [exec] (LibreOffice) {soffice}
  59. [exec] (XEmacs) {xemacs}
  60. [exec] (XPDF) {xpdf}
  61. [submenu] (Graphics)
  62. [exec] (The GIMP) {gimp}
  63. [exec] (Image Magick) {display}
  64. [end]
  65. [submenu] (Internet)
  66. [exec] (Icecat) {icecat}
  67. [exec] (Iceweasel libre) {iceweasel}
  68. [submenu] (Icedove libre)
  69. [exec] (Icedove libre Mail) {icedove -mail}
  70. [exec] (Icedove libre News) {icedove -news}
  71. [end]
  72. [submenu] (Iceape libre)
  73. [exec] (Iceape libre Mail) {icedove -mail}
  74. [exec] (Iceape libre News) {icedove -news}
  75. [exec] (Iceape libre Composer) {icedove -edit}
  76. [end]
  77. [end]
  78. [submenu] (X Utilities)
  79. [exec] (Xfontsel) {xfontsel}
  80. [exec] (Xman) {xman}
  81. [exec] (Xcalc) {xcalc}
  82. [exec] (Xload) {xload}
  83. [end]
  84. [submenu] (Styles) {Choose a style...}
  85. [stylesdir] (/usr/share/blackbox/styles)
  86. [end]
  87. [workspaces] (Workspace List)
  88. [config] (Configuration)
  89. [reconfig] (Reconfigure)
  90. [restart] (Restart)
  91. [submenu] (Others) {Other Window Managers}
  92. [restart] (Start FVWM) {fvwm}
  93. [restart] (Start WindowMaker) {wmaker}
  94. [restart] (Start Afterstep) {afterstep}
  95. [restart] (Start Enlightenment) {enlightenment}
  96. [restart] (Start TWM) {twm}
  97. [restart] (Start KWIM) {kwim}
  98. [end]
  99. [exit] (Exit)
  100. [end]
  101. # End of example menu.