$OpenBSD: patch-etc_cfg_ioncore_lua,v 1.3 2006/07/30 18:45:21 pedro Exp $
--- etc/cfg_ioncore.lua.orig	Wed May 24 13:23:26 2006
+++ etc/cfg_ioncore.lua	Sun Jul 30 15:39:20 2006
@@ -63,8 +63,8 @@ defbindings("WScreen", {
     kpress(META.."F9", "ioncore.create_ws(_)"),
     
     bdoc("Display the main menu."),
-    kpress(ALTMETA.."F12", "mod_query.query_menu(_, 'mainmenu', 'Main menu: ')"),
-    --kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
+    --kpress(ALTMETA.."F12", "mod_query.query_menu(_, 'mainmenu', 'Main menu: ')"),
+    kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
     mpress("Button3", "mod_menu.pmenu(_, _sub, 'mainmenu')"),
     
     bdoc("Display the window list menu."),
@@ -111,10 +111,10 @@ defbindings("WMPlex.toplevel", {
                 "_sub:WClientWin"),
 
     bdoc("Query for manual page to be displayed."),
-    kpress(ALTMETA.."F1", "mod_query.query_man(_, ':man')"),
+    kpress(ALTMETA.."F1", "mod_query.query_man(_, '::man')"),
 
     bdoc("Show the Ion manual page."),
-    kpress(META.."F1", "ioncore.exec_on(_, ':man ion3')"),
+    kpress(META.."F1", "ioncore.exec_on(_, '::man ion3')"),
 
     bdoc("Run a terminal emulator."),
     kpress(ALTMETA.."F2", "ioncore.exec_on(_, 'xterm')"),
@@ -130,7 +130,7 @@ defbindings("WMPlex.toplevel", {
 
     bdoc("Query for file to edit."),
     kpress(ALTMETA.."F5", 
-           "mod_query.query_editfile(_, 'run-mailcap --action=edit')"),
+           "mod_query.query_editfile(_, ':vi')"),
 
     bdoc("Query for file to view."),
     kpress(ALTMETA.."F6", 
@@ -286,12 +286,7 @@ defmenu("mainmenu", {
 -- Application menu
 defmenu("appmenu", {
     menuentry("XTerm",          "ioncore.exec_on(_, 'xterm')"),
-    menuentry("W3M",            "ioncore.exec_on(_, ':w3m -v')"),
-    menuentry("Rxvt",           "ioncore.exec_on(_, 'rxvt')"),
-    menuentry("Opera",          "ioncore.exec_on(_, 'opera')"),
-    menuentry("Links",          "ioncore.exec_on(_, ':links')"),
-    menuentry("Konqueror",      "ioncore.exec_on(_, 'konqueror')"),
-    menuentry("Dillo",          "ioncore.exec_on(_, 'dillo')"),
+    menuentry("Firefox",        "ioncore.exec_on(_, 'firefox')"),
     menuentry("Run...",         "mod_query.query_exec(_)"),
 })
 
@@ -316,4 +311,6 @@ defctxmenu("WFrame", "Frame", {
     menuentry("Clear tags",     "ioncore.clear_tags()"),
     menuentry("Window info",    "mod_query.show_clientwin(_, _sub)",
                                 "_sub:WClientWin"),
+    submenu("Attach",		"menuattach"),
+    submenu("Detach",		"menudetach"),
 })
