# This is the default menu file for Blackbox 0.33.0 and up
# 
# Lines beginning with the '#' character are ignored.
#
# The new syntax is simpler than the old X resource format...
# Each menu item consists of 2 or 3 fields:
#
#       [command]  (label)  {data}
#
# where [command] is one of:
#
# [begin] [end] [exec] [exit] [reconfig] [restart] [submenu] [style] [include]
#
# [begin] is used for the top level menu
# [submenu] is used for submenus
# [end] must be used with BOTH [begin] and [submenu] to tell the parser to stop
#   reading from the file.
#
# [exec] (label) {string}
# This will insert an item that runs a program.
#
# [exit] (label)
# This will insert an item that exits the window manager.
#
# [reconfig] (label) {string}
# This will insert an item that tells blackbox to re-read it's configuration
#  files.  {string} is optional, and if supplied, will execute the string with
#  /bin/sh -c before the reconfiguration is performed.  (this is helpful for
#  writing multiple config files and switching between them)
#
# [restart] (label) {string}
# This will insert an item to restart the window manager.  {string} is
# optional, and if omitted, blackbox will restart itself.  If {string} is
# specified, then a different window manager will be started.
#
# [style] (filename)
# This will insert an item to reconfigure blackbox with the new style. This
# change is saved when blackbox exits or restarts.
#
# [include] (filename)
# This will read more menu items from the file "filename".  The file cannot
# contain a [begin] or [end], except for the [end] needed for submenus.
#
# example:

[begin] (Blackbox 0.60.x)
  [submenu] (VTools)
    [exec] (Vmail)		{vmail}
    [exec] (VFetchmail)		{vfetchmail}
    [exec] (Vedit)		{vedit}
    [exec] (Vlpm)		{vlpm}
  [end]

  [submenu] (Terminal)
    [exec] (GNOME Terminal)	{gnome-terminal}
    [exec] (KTerm)		{kterm -sb}
    [exec] (ETerm)		{Eterm}
    [exec] (Rxvt)		{rxvt -bg black -fg white}
  [end]

  [submenu] (Applications) {Applications}
    [piperead] {wmconfig --output blackbox 2>/dev/null}
  [end]

  [submenu] (Utilities)
    [submenu] (Management Tools)
      [exec] (Linuxconf)	{kterm -T linuxconf -e su - -c linuxconf}
      [exec] (Setup)		{kterm -T setup -e su - -c setup}
      [exec] (Control Panel)	{kterm -geometry 40x2 -T control-panel -e su -c control-panel}
      [exec] (RPM Management gnorpm) {gnorpm-auth}
    [end]
    [submenu] (Network)
      [exec] (PPP Configuration qdial)	{qdial}
      [exec] (PPP Connecting tkppxp)	{tkppxp}
      [exec] (ethereal)			{ethereal}
      [exec] (Netscape)			{netscape}
      [exec] (gFTP)			{gftp}
      [exec] (XChat)			{xchat}
    [end]
    [submenu] (Accessory)
      [exec] (ical)		{ical}
      [exec] (xcalc)		{xcalc}
      [exec] (xprop)		{xprop | xmessage -center -title 'xprop' -file -}
      [exec] (xfontsel)		{xfontsel}
      [exec] (xmag)		{xmag}
      [exec] (xcmap)		{xcmap}
    [end]
    [submenu] (Sound)
      [exec] (CD Player xplaycd)	{xplaycd}
      [exec] (Mixer xmixer)		{xmixer}
      [exec] (Timidity++)		{timidity -ig}
      [exec] (XMMS)			{xmms}
    [end]
    [exec] (xkill)  {xkill}
  [end]

  [submenu] (Styles) {Choose a style...}
    [stylesdir] (/usr/share/Blackbox/styles)
  [end]

  [submenu] (Information)
    [exec] (System)		{xload}
    [exec] (Process top)	{kterm -e top}
  [end]

  [workspaces] (Workspace List)
  [config] (Configuration)

  [submenu] (Help)
    [exec] (Document Search - namazu)	{tknamazu}
    [exec] (Vine Linux Online Documents) {netscape /usr/doc/HTML/index.html}
    [exec] (News \(WWW\))		{netscape http://vinelinux.org/whatsnew.html}
    [exec] (Eratta \(WWW\))		{netscape http://vinelinux.org/errata.html}
    [exec] (Mailing List Search \(WWW\)) {netscape http://darkness.vinelinux.org}
  [end]

  [submenu] (Exit)
    [reconfig] (Reconfigure)
    [restart] (Restart)
    [exec] (Screen Lock)		{xclock}
    [submenu] (Others) {Other Window Managers}
      [restart] (Start WindowMaker)	{wmaker}
      [restart] (Start Afterstep)	{afterstep}
      [restart] (Start IceWM)		{icewm}
      [restart] (Start FVWM2)		{fvwm2}
      [restart] (Start TWM)		{twm}
      [restart] (Start KWM)		{kwm}
      [restart] (Start MWM)		{mwm}
    [end]
    [exit] (Exit)
  [end]
[end]

# End of example menu.

