#
# rcfile for simple_menus plugin
#

load "simple_menus" {
	param "menu_stacklayer"	"top";	# where menus go in the stacking layer
	param "menu_button"	"3";	# button to open root menu

	param "rootmenu" "Title" {
		param "command" "Local Terminal"	{ param "dat" "exec xterm"; }

		#
		# a submenu of remote host terms.
		# alternativly this may be done with:
		#.exec "menu-ssh-hosts"
		# menu-ssh-hosts is a script included with golem's distro
		# in the util directory that outputs a simple_menus param
		# subtree from your ~/.ssh/known_hosts and known_hosts2 files.
		# you need to copy it to somewhere on your PATH to use it here
		#
		param "submenu" "Remote Terminal" {
			param "command" "Bifur"		{ param "dat" "exec xterm -e ssh bifur"; }
			param "command" "Bofur"		{ param "dat" "exec xterm -e ssh bofur"; }
			param "command" "Bombur"	{ param "dat" "exec xterm -e ssh bombur"; }
			param "command" "Fili"		{ param "dat" "exec xterm -e ssh fili"; }
			param "command" "Kili"		{ param "dat" "exec xterm -e ssh kili"; }
			param "command" "Thorin"	{ param "dat" "exec xterm -e ssh thorin"; }
		}
		param "command" "Netscape"		{ param "dat" "exec netscape"; }
		param "command" "GQmpeg"		{ param "dat" "exec gqmpeg"; }
		param "command" "BitchX"		{ param "dat" "exec xterm -name BitchX -e BitchX"; }
		param "submenu" "Exit" {
			param "restart" "Restart";
			param "submenu" "Others" {
				param "restart" "Start WindowMaker"	{ param "dat" "wmaker"; }
				param "restart" "Start BlackBox"	{ param "dat" "blackbox"; }
				param "restart" "Start Enlightenment"	{ param "dat" "enlightenment"; }
				param "restart" "Start Afterstep"	{ param "dat" "afterstep"; }
			}
			param "abort" "Abort";
			param "exit" "Exit";
		}
	}
}
