# Menu config for pekwm

# Variables
$TERM = "x-terminal-emulator"
#$TERM = "x-terminal-emulator -bg black -fg yellow -fn -misc-fixed-medium-r-normal--14-140-75-75-c-90-iso8859-15 -ah"
$XCONSOLE = "xconsole -daemon -notify -verbose -fn fixed -exitOnFail -file /dev/xconsole"

RootMenu = "Pekwm @ grml" {
	Entry = "xterm" { Actions = "Exec $TERM &" }
	Entry = "screen" { Actions = "Exec $TERM -title screen -e screen &" }
	Entry = "vim" { Actions = "Exec $TERM -title VIM -e vim &" }
	Entry = "emacs" { Actions = "Exec emacs &" }
	Entry = "----------" { Actions = "NoAction" }
	Submenu = "WWW" {
		Entry = "firefox" { Actions = "Exec mozilla-firefox &" }
		Entry = "xlinks2" { Actions = "Exec xlinks2 -mode 640x480 &" }
		Entry = "w3m" { Actions = "Exec $TERM -title w3m -e w3m http://grml.org/ &" }
	}
	Submenu = "Communication" {
		Entry = "mutt" { Actions = "Exec $TERM -title mutt -e mutt &" }
		Entry = "slrn" { Actions = "Exec $TERM -title slrn -e slrn &" }
		Entry = "centericq" { Actions = "Exec $TERM -title centericq -e centericq &" }
	}
	Submenu = "Configuration" {
		Entry = "grml-mutt" { Actions = "Exec $TERM -title grml-mutt -e grml-mutt &" }
		Entry = "grml-nessus" { Actions = "Exec $TERM -title grml-nessus -e grml-nessus &" }
		Entry = "grml-postfix" { Actions = "Exec $TERM -title grml-postfix -e grml-postfix &" }
		Entry = "grml-slrn" { Actions = "Exec $TERM -title grml-slrn -e grml-slrn &" }
	}
	Submenu = "Debian" {
		INCLUDE = "/etc/pekwm/debian-menu"
	}
	Entry = "----------" { Actions = "NoAction" }
		Entry = "Reload" { Actions = "Reload" }
		Entry = "Restart" { Actions = "Restart" }
		Entry = "Exit" { Actions = "Exit" }
		Submenu = "Themes" {
			Entry = { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_themeset.pl ~/.pekwm/themes" }
		}

}
WindowMenu = "Window Menu" {
	Entry = "(Un)Stick" { Actions = "Toggle Sticky" }
	Entry = "(Un)Shade" { Actions = "Toggle Shaded" }

	Submenu = "Maximize" {
		Entry = "Full" { Actions = "Toggle Maximized True True" }
		Entry = "Horizontal" { Actions = "Toggle Maximized True False" }
		Entry = "Vertical" { Actions = "Toggle Maximized False True" }
	}
	Submenu = "Fill" {
		Entry = "Full" { Actions = "MaxFill True True" }
		Entry = "Horizontal" { Actions = "MaxFill True False" }
		Entry = "Vertical" { Actions = "MaxFill False True" }
	}
	Submenu = "Stacking" {
		Entry = "Raise " { Actions = "Raise" }
		Entry = "Lower" { Actions = "Lower" }
		Entry = "Always On Top " { Actions = "Toggle AlwaysOnTop" }
		Entry = "Always Below" { Actions = "Toggle AlwaysBelow" }
	}
	Submenu = "Decor" {
		Entry = "Decor" { Actions = "Toggle DecorBorder; Toggle DecorTitlebar" }
		Entry = "Border" { Actions = "Toggle DecorBorder" }
		Entry = "Titlebar" { Actions = "Toggle DecorTitlebar" }
	}
	Submenu = "Skip" {
		Entry = "Menus" { Actions = "Toggle Skip Menus" }
		Entry = "Focus Toggle" { Actions = "Toggle Skip FocusToggle" }
		Entry = "Snap" { Actions = "Toggle Skip Snap" }
	}
	SubMenu = "Send To" {
		Entry { Actions = "Dynamic /usr/share/pekwm/scripts/pekwm_ws_menu.pl SendTo" }
	}
	Entry = "Iconify " { Actions = "Set Iconified" }
	Entry = "Close" { Actions = "Close" }
	Entry = "Kill " { Actions = "Kill " }
}
