Drop ion files
authorMichael Prokop <mika@grml.org>
Tue, 30 Sep 2008 21:45:32 +0000 (23:45 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 30 Sep 2008 21:45:47 +0000 (23:45 +0200)
32 files changed:
etc/skel/.ion2/.welcome_msg_displayed [deleted file]
etc/skel/.ion2/default-session--0/draw.lua [deleted file]
etc/skel/.ion2/default-session--0/query_history.lua [deleted file]
etc/skel/.ion2/default-session--0/workspaces.lua [deleted file]
etc/skel/.ion2/dock-draw.lua [deleted file]
etc/skel/.ion2/dock.lua [deleted file]
etc/skel/.ion2/floatws.lua [deleted file]
etc/skel/.ion2/go_frame_or_desk.lua [deleted file]
etc/skel/.ion2/ion-bindings.lua [deleted file]
etc/skel/.ion2/ion-menus.lua [deleted file]
etc/skel/.ion2/ion.lua [deleted file]
etc/skel/.ion2/ionws.lua [deleted file]
etc/skel/.ion2/kludges.lua [deleted file]
etc/skel/.ion2/look-brownsteel.lua [deleted file]
etc/skel/.ion2/look-clean.lua [deleted file]
etc/skel/.ion2/look-cleanios.lua [deleted file]
etc/skel/.ion2/look-cleanviolet.lua [deleted file]
etc/skel/.ion2/look-dusky.lua [deleted file]
etc/skel/.ion2/look-greyviolet.lua [deleted file]
etc/skel/.ion2/look-grml.lua [deleted file]
etc/skel/.ion2/look-ios.lua [deleted file]
etc/skel/.ion2/look-simpleblue.lua [deleted file]
etc/skel/.ion2/look-wheat2.lua [deleted file]
etc/skel/.ion2/menu.lua [deleted file]
etc/skel/.ion2/pwm-bindings.lua [deleted file]
etc/skel/.ion2/pwm-menus.lua [deleted file]
etc/skel/.ion2/pwm.lua [deleted file]
etc/skel/.ion2/query.lua [deleted file]
etc/skel/.ion3/.welcome_msg_displayed [deleted file]
etc/skel/.ion3/default-session--0/saved_layout.lua [deleted file]
etc/skel/.ion3/default-session--0/saved_queryhist.lua [deleted file]
etc/skel/.ion3/default-session--0/saved_wd.lua [deleted file]

diff --git a/etc/skel/.ion2/.welcome_msg_displayed b/etc/skel/.ion2/.welcome_msg_displayed
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/etc/skel/.ion2/default-session--0/draw.lua b/etc/skel/.ion2/default-session--0/draw.lua
deleted file mode 100644 (file)
index 043ab6d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-include("look-grml")
diff --git a/etc/skel/.ion2/default-session--0/query_history.lua b/etc/skel/.ion2/default-session--0/query_history.lua
deleted file mode 100644 (file)
index 0ec8cc9..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-local saves={
-    "y",
-    "firefox",
-    "y",
-    "",
-    "firefox",
-    "",
-    "WFloatWS",
-    "floating",
-    "",
-    "browse",
-}
-for k=table.getn(saves),1,-1 do query_history_push(saves[k]) end
diff --git a/etc/skel/.ion2/default-session--0/workspaces.lua b/etc/skel/.ion2/default-session--0/workspaces.lua
deleted file mode 100644 (file)
index 65078a2..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
--- This file was created by and is modified by Ion.
-
-initialise_screen_id(0, {
-    type = "WScreen",
-    name = "WScreen",
-    subs = {
-        {
-            type = "WIonWS",
-            name = "main",
-            split_tree = {
-                split_dir = "horizontal",
-                split_tls = 512, split_brs = 512,
-                tl = {
-                    type = "WIonFrame",
-                    name = "WIonFrame",
-                    flags = 24,
-                    saved_y = 0, saved_h = 432,
-                    saved_x = 0, saved_w = 1152,
-                    subs = {
-                    },
-                },
-                br = {
-                    type = "WIonFrame",
-                    name = "WIonFrame<1>",
-                    flags = 0,
-                    subs = {
-                    },
-                },
-            },
-            switchto = true,
-        },
-        {
-            type = "WIonWS",
-            name = "browse",
-            split_tree = {
-                type = "WIonFrame",
-                name = "WIonFrame<2>",
-                flags = 0,
-                subs = {
-                },
-            },
-        },
-        {
-            type = "WFloatWS",
-            name = "floating",
-            managed = {
-                {
-                    type = "WFloatFrame",
-                    name = "WFloatFrame",
-                    flags = 0,
-                    subs = {
-                        {
-                            type = "WClientWin",
-                            windowid = 8388620,
-                            checkcode = 1,
-                            switchto = true,
-                        },
-                    },
-                    geom = { x = 0, y = 0, w = 644, h = 570},
-                },
-            },
-        },
-        {
-            type = "WIonWS",
-            name = "WIonWS",
-            split_tree = {
-                type = "WIonFrame",
-                name = "WIonFrame<4>",
-                flags = 0,
-                subs = {
-                },
-            },
-        },
-    },
-})
-
diff --git a/etc/skel/.ion2/dock-draw.lua b/etc/skel/.ion2/dock-draw.lua
deleted file mode 100644 (file)
index 35773ec..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
--- dock-draw.lua drawing engine configuration file for ion-devel-dock
--- $Header: /home/twp/cvsroot/twp/ion/ion-devel-dock/dock-draw.lua,v 1.2 2003/12/21 11:59:48 twp Exp $
-
-de_define_style("dock", {
-    
-    -- The following are the usual ion drawing configuration commands
-    based_on = "*",
-    
-    -- outline_style controls where the border is drawn:
-    -- "none" no border is drawn
-    -- "all"  a single border is drawn around the dock
-    -- "each" a border is drawn around each dockapp
-    outline_style = "all",
-    
-    -- tile_size controls the minimum tile size
-    tile_size = { width = 64, height = 64 },
-
-})
diff --git a/etc/skel/.ion2/dock.lua b/etc/skel/.ion2/dock.lua
deleted file mode 100644 (file)
index 3b0edfb..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
---
--- Ion-devel dock module configuration
---
-
-dock = create_dock(0, {    -- create a new dock on screen 0
-    name="dock",    -- name for use in target="..." winprops
-    hpos="right",    -- horizontal position left|center|right
-    vpos="bottom",    -- vertical position top|middle|bottom
-    grow="left",    -- growth direction up|down|left|right
-    is_auto=true})    -- whether new dockapps should be added automatically
-
-global_bindings{
-    kpress(DEFAULT_MOD.."space",
-        function()
-            WDock.toggle(dock)    -- toggle map/unmapped state
-        end),
-}
-
--- dockapp ordering
-
--- Use the dockposition winprop to enforce an ordering on dockapps. The value is
--- arbitrary and relative to other dockapps only. The default is 0.
--- Unfortunately, many dockapps do not set their class/instance/role so they
--- cannot be used with the winprop system.
-
--- dockapp borders
-
--- Use dockappborder=false to disable the drawing of a border around a dockapp.
--- This is only effective if outline_style="each" (see dock-draw.lua).
-
-winprop{
-    instance="gkrellm2",
-    dockposition=-100,    -- place first
-    dockborder=false,    -- do not draw border if outline_style="each"
-}
-
--- kludges
-
-winprop{
-    instance="wmxmms",
-    target="dock",
-}
diff --git a/etc/skel/.ion2/floatws.lua b/etc/skel/.ion2/floatws.lua
deleted file mode 100644 (file)
index 1b95e13..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
---
--- Ion floatws module configuration file
---
-
--- Bindings for PWM-style floating frame workspaces. These should work
--- on any object on the workspace.
-
-floatws_bindings{
-    kpress(DEFAULT_MOD.."Tab",
-           function(ws) ws:circulate():raise() end),
-    submap(DEFAULT_MOD.."K") { 
-        kpress("AnyModifier+Tab",
-               function(ws) ws:backcirculate():raise() end),
-    },
-    kpress(DEFAULT_MOD.."P", function(ws, curr) curr:lower() end),
-    kpress(DEFAULT_MOD.."N", function(ws, curr) curr:raise() end),
-}
-
-
--- Frame bindings. These work in (floating/PWM-style) frames. Some bindings
--- that are common to all frame types and multiplexes are defined in
--- ion-bindings.lua.
-
-floatframe_bindings{
-    kpress(DEFAULT_MOD.."R", WFloatFrame.begin_resize),
-    
-    mpress("Button1", WRegion.raise, "tab"),
-    mpress("Button1", WRegion.raise, "border"),
-    mclick("Button1", WGenFrame.p_switch_tab, "tab"),
-    mdrag("Button1", WFloatFrame.p_move, "tab"),
-    mdrag("Button1", WGenFrame.p_resize, "border"),
-    mdblclick("Button1", WFloatFrame.toggle_shade, "tab"),
-    
-    mclick(DEFAULT_MOD.."Button1", WRegion.raise),
-    mdrag(DEFAULT_MOD.."Button1", WFloatFrame.p_move),
-    
-    mclick("Button2", WGenFrame.p_switch_tab, "tab"),
-    mdrag("Button2", WGenFrame.p_tabdrag, "tab"),
-    
-    mclick(DEFAULT_MOD.."Button3", WRegion.lower),
-    mdrag(DEFAULT_MOD.."Button3", WGenFrame.p_resize),
-
-    kpress(DEFAULT_MOD.."M", make_menu_fn("ctxmenu-floatframe")),
-    mpress("Button3", make_pmenu_fn("ctxmenu-floatframe"), "tab"),
-}
-
-
--- Frame move/resize mode bindings
-
-floatframe_moveres_bindings{
-    kpress("AnyModifier+Escape", WFloatFrame.cancel_resize),
-    kpress("AnyModifier+Return", WFloatFrame.end_resize),
-    
-    kpress("Left", function(f) f:do_resize(1, 0, 0, 0) end),
-    kpress("Right",function(f) f:do_resize(0, 1, 0, 0) end),
-    kpress("Up",   function(f) f:do_resize(0, 0, 1, 0) end),
-    kpress("Down", function(f) f:do_resize(0, 0, 0, 1) end),
-    kpress("F",    function(f) f:do_resize(1, 0, 0, 0) end),
-    kpress("B",    function(f) f:do_resize(0, 1, 0, 0) end),
-    kpress("P",    function(f) f:do_resize(0, 0, 1, 0) end),
-    kpress("N",    function(f) f:do_resize(0, 0, 0, 1) end),
-
-    kpress("Shift+Left", function(f) f:do_resize(-1, 0, 0, 0) end),
-    kpress("Shift+Right",function(f) f:do_resize( 0,-1, 0, 0) end),
-    kpress("Shift+Up",   function(f) f:do_resize( 0, 0,-1, 0) end),
-    kpress("Shift+Down", function(f) f:do_resize( 0, 0, 0,-1) end),
-    kpress("Shift+F",    function(f) f:do_resize(-1, 0, 0, 0) end),
-    kpress("Shift+B",    function(f) f:do_resize( 0,-1, 0, 0) end),
-    kpress("Shift+P",    function(f) f:do_resize( 0, 0,-1, 0) end),
-    kpress("Shift+N",    function(f) f:do_resize( 0, 0, 0,-1) end),
-
-    kpress(DEFAULT_MOD.."Left", function(f) f:do_move(-1, 0) end),
-    kpress(DEFAULT_MOD.."Right",function(f) f:do_move( 1, 0) end),
-    kpress(DEFAULT_MOD.."Up",   function(f) f:do_move( 0,-1) end),
-    kpress(DEFAULT_MOD.."Down", function(f) f:do_move( 0, 1) end),
-    kpress(DEFAULT_MOD.."F",    function(f) f:do_move(-1, 0) end),
-    kpress(DEFAULT_MOD.."B",    function(f) f:do_move( 1, 0) end),
-    kpress(DEFAULT_MOD.."P",    function(f) f:do_move( 0,-1) end),
-    kpress(DEFAULT_MOD.."N",    function(f) f:do_move( 0, 1) end),
-}
-
diff --git a/etc/skel/.ion2/go_frame_or_desk.lua b/etc/skel/.ion2/go_frame_or_desk.lua
deleted file mode 100644 (file)
index 5141fad..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
--- Goes to the frame in the specified direction. If there is no frame in the
--- given direction, it goes to the next workspace in the direction, being:
---     left  = previous workspace
---     right = next workspace
---
--- By 2004, Rene van Bevern <rvb@pro-linux.de>
---     Public Domain
---
--- If you are about to go to a frame that would be left to the leftmost frame,
--- the function switches to a previous workspace and goes to its rightmost frame.
--- If you are about to go to a frame that would be right of the rightmost frame,
--- the function switches to the next workspace and goes to its leftmost frame.
---
--- To use this function you need to bind keys in the ionws_bindings
---
--- ionws_bindings {
---    kpress(DEFAULT_MOD.."Down", function(f) go_frame_or_desk(f, "down") end),
---    kpress(DEFAULT_MOD.."Up", function(f) go_frame_or_desk(f, "up") end),
---    kpress(DEFAULT_MOD.."Right", function(f) go_frame_or_desk(f, "right") end),
---    kpress(DEFAULT_MOD.."Left", function(f) go_frame_or_desk(f, "left") end)
--- }
-
-function go_frame_or_desk(ws, dir)
-       local reg = ws:current()
-       local scr = ws:screen_of()
-       if ws:next_to(reg,dir)  then ws:goto_dir(dir)
-       elseif dir == "left"    then
-               scr:switch_prev()
-               WRegion.goto(scr:current():rightmost())
-       elseif dir == "right"   then
-               scr:switch_next()
-               WRegion.goto(scr:current():leftmost())
-       end
-end
-
-function go_frame_or_desk_left(reg)
-       go_frame_or_desk(reg, "left")
-end
-
-function go_frame_or_desk_right(reg)
-       go_frame_or_desk(reg, "right")
-end
-
-function go_frame_or_desk_up(reg)
-       go_frame_or_desk(reg, "up")
-end
-
-function go_frame_or_desk_down(reg)
-       go_frame_or_desk(reg, "down")
-end
diff --git a/etc/skel/.ion2/ion-bindings.lua b/etc/skel/.ion2/ion-bindings.lua
deleted file mode 100644 (file)
index 4637fc6..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
--- 
--- Ion bindings configuration file. Global bindings and bindings common 
--- to screens and all types of frames only. See modules' configuration 
--- files for other bindings.
---
-
--- Load a library to create common queries.
-include("querylib")
--- Load a library to create menu display callbacks.
-include("menulib")
-
-
--- global_bindings
---
--- Global bindings are available all the time. The functions given here 
--- should accept WScreens as parameter. 
---
--- The variable DEFAULT_MOD should contain a string of the form 'Mod1+'
--- where Mod1 maybe replaced with the modifier you want to use for most
--- of the bindings. Similarly SECOND_MOD may be redefined to add a 
--- modifier to some of the F-key bindings.
-
-global_bindings{
-    kpress(DEFAULT_MOD.."1", function(s) s:switch_nth(0) end),
-    kpress(DEFAULT_MOD.."2", function(s) s:switch_nth(1) end),
-    kpress(DEFAULT_MOD.."3", function(s) s:switch_nth(2) end),
-    kpress(DEFAULT_MOD.."4", function(s) s:switch_nth(3) end),
-    kpress(DEFAULT_MOD.."5", function(s) s:switch_nth(4) end),
-    kpress(DEFAULT_MOD.."6", function(s) s:switch_nth(5) end),
-    kpress(DEFAULT_MOD.."7", function(s) s:switch_nth(6) end),
-    kpress(DEFAULT_MOD.."8", function(s) s:switch_nth(7) end),
-    kpress(DEFAULT_MOD.."9", function(s) s:switch_nth(8) end),
-    kpress(DEFAULT_MOD.."0", function(s) s:switch_nth(9) end),
-    kpress(DEFAULT_MOD.."Left", WScreen.switch_prev),
-    kpress(DEFAULT_MOD.."Right", WScreen.switch_next),
-    
-    submap(DEFAULT_MOD.."K", {
-        kpress("AnyModifier+K", goto_previous),
-        kpress("AnyModifier+T", clear_tags),
-    }),
-    
-    kpress(DEFAULT_MOD.."Shift+1", function() goto_nth_screen(0) end),
-    kpress(DEFAULT_MOD.."Shift+2", function() goto_nth_screen(1) end),
-    kpress(DEFAULT_MOD.."Shift+Left", goto_next_screen),
-    kpress(DEFAULT_MOD.."Shift+Right", goto_prev_screen),
-    
-    kpress(DEFAULT_MOD.."F1", function(scr)
-                                  -- Display Ion's manual page
-                                  local m=lookup_script("ion-man")
-                                  if m then
-                                      exec_in(scr, m.." ion")
-                                  end
-                              end),
-    kpress(SECOND_MOD.."F2", make_exec_fn("x-terminal-emulator -fg white -bg black")),
-    
-    -- Create a new workspace with a default name.
-    kpress(DEFAULT_MOD.."F9", 
-           function(scr)
-               scr:attach_new({ type=default_ws_type, switchto=true })
-           end),
-
-    -- Menus/queries
-
-    -- KEYF11 and KEYF12 are normally defined to be the strings "F11" 
-    -- and "F12", respectively, but on SunOS, they're something  else 
-    -- (although the keys on the keyboard are the same).
-    kpress(SECOND_MOD..KEYF12, make_bigmenu_fn("mainmenu")),
-    mpress("Button2", make_pmenu_fn("windowlist")),
-    mpress("Button3", make_pmenu_fn("mainmenu")),
-    
-    --kpress(DEFAULT_MOD.."Menu", make_bigmenu_fn("mainmenu")),
-    --kpress(SECOND_MOD..KEYF11, querylib.query_restart),
-    --kpress(SECOND_MOD..KEYF12, querylib.query_exit),
-    kpress(DEFAULT_MOD.."Escape", make_exec_fn("x-terminal-emulator")),
-}
-
-
--- mplex_bindings
---
--- These bindings work in frames and on screens. The innermost of such
--- objects always gets to handle the key press. Essentially these bindings
--- are used to define actions on client windows. (Remember that client
--- windows can be put in fullscreen mode and therefore may not have a
--- frame.)
--- 
--- The make_*_fn functions are used to call functions on the object currently 
--- managed by the screen or frame or the frame itself. Essentially e.g.
--- make_mplex_clientwin_fn(fn) expands to
--- 
--- function(mplex, sub)
---     local reg=(sub or mplex:current())
---     if obj_is(reg, "WClientWin") then 
---         fn(reg)
---     end
--- end
--- 
--- For details see the document "Ion: Configuring and extending with Lua".
-
-mplex_bindings{
-    kpress_waitrel(DEFAULT_MOD.."C", WMPlex.close_sub_or_self),
-    kpress_waitrel(DEFAULT_MOD.."L", 
-                   make_mplex_clientwin_fn(WClientWin.broken_app_resize_kludge)),
-    kpress_waitrel(DEFAULT_MOD.."Return", 
-                   make_mplex_clientwin_fn(WClientWin.toggle_fullscreen)),
-
-    submap(DEFAULT_MOD.."K", {
-        kpress("AnyModifier+C",
-               make_mplex_clientwin_fn(WClientWin.kill)),
-        kpress("AnyModifier+Q", 
-               make_mplex_clientwin_fn(WClientWin.quote_next)),
-    }),
-}
-
-
--- genframe_bindings
---
--- These bindings are common to all types of frames. The rest of frame
--- bindings that differ between frame types are defined in the modules' 
--- configuration files.
-
-genframe_bindings{
-    -- Tag viewed object
-    kpress(DEFAULT_MOD.."T", make_mplex_sub_fn(WRegion.toggle_tag)),
-
-    submap(DEFAULT_MOD.."K", {
-        -- Selected object/tab switching
-        kpress("AnyModifier+N", WGenFrame.switch_next),
-        kpress("AnyModifier+P", WGenFrame.switch_prev),
-        kpress("AnyModifier+1", function(f) f:switch_nth(0) end),
-        kpress("AnyModifier+2", function(f) f:switch_nth(1) end),
-        kpress("AnyModifier+3", function(f) f:switch_nth(2) end),
-        kpress("AnyModifier+4", function(f) f:switch_nth(3) end),
-        kpress("AnyModifier+5", function(f) f:switch_nth(4) end),
-        kpress("AnyModifier+6", function(f) f:switch_nth(5) end),
-        kpress("AnyModifier+7", function(f) f:switch_nth(6) end),
-        kpress("AnyModifier+8", function(f) f:switch_nth(7) end),
-        kpress("AnyModifier+9", function(f) f:switch_nth(8) end),
-        kpress("AnyModifier+0", function(f) f:switch_nth(9) end),
-        -- Maximize
-        kpress("AnyModifier+H", WGenFrame.maximize_horiz),
-        kpress("AnyModifier+V", WGenFrame.maximize_vert),
-        -- Attach tagged objects
-        kpress("AnyModifier+A", WGenFrame.attach_tagged),
-    }),
-    
-    -- Queries
-    kpress(DEFAULT_MOD.."A", querylib.query_attachclient),
-    kpress(DEFAULT_MOD.."G", querylib.query_gotoclient),
-    kpress(SECOND_MOD.."F1", querylib.query_man),
-    kpress(SECOND_MOD.."F3", querylib.query_exec),
-    kpress(DEFAULT_MOD.."F3", querylib.query_lua),
-    kpress(SECOND_MOD.."F4", querylib.query_ssh),
-    kpress(SECOND_MOD.."F5", querylib.query_editfile),
-    kpress(SECOND_MOD.."F6", querylib.query_runfile),
-    kpress(SECOND_MOD.."F9", querylib.query_workspace),
-    -- Menus
-    kpress(DEFAULT_MOD.."M", make_menu_fn("ctxmenu")),
-    mpress("Button3", make_pmenu_fn("ctxmenu"), "tab"),
-}
-
diff --git a/etc/skel/.ion2/ion-menus.lua b/etc/skel/.ion2/ion-menus.lua
deleted file mode 100644 (file)
index 0589a88..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
---
--- Ion menu definitions
---
-
-
--- Load a library with some convenience functions.
-include("menulib")
--- Load query support code
-include("querylib")
-
-
--- Main menu
-defmenu("mainmenu", {
-    submenu("Programs", "appmenu"),
-    menuentry("Lock screen", make_exec_fn("xlock")),
-    menuentry("Help", querylib.query_man),
-    menuentry("About Ion", querylib.show_aboutmsg),
-    submenu("Styles", "stylemenu"),
-    submenu("Exit", "exitmenu"),
-})
-
-
--- Application menu
-defmenu("appmenu", {
-    menuentry("XTerm", make_exec_fn("x-terminal-emulator")),
-    menuentry("Mozilla Firefox", make_exec_fn("firefox")),
-    -- The query module must also be loaded for this binding to work.
-    menuentry("Run...", querylib.query_exec),
-})
-
-
--- Menu with restart/exit alternatives
-defmenu("exitmenu", {
-    --menuentry("Restart", querylib.query_restart),
-    menuentry("Restart", restart_wm),
-    menuentry("Restart PWM", function() restart_other_wm("pwm") end),
-    menuentry("Restart TWM", function() restart_other_wm("twm") end),
-    --menuentry("Exit", querylib.query_exit),
-    menuentry("Exit", exit_wm),
-})
-
-
--- Context menu (frame/client window actions)
-defmenu("ctxmenu", {
-    menuentry("Close", WMPlex.close_sub_or_self),
-    menuentry("Kill", make_mplex_clientwin_fn(WClientWin.kill)),
-    menuentry("(Un)tag", make_mplex_sub_fn(WRegion.toggle_tag)),
-    menuentry("Attach tagged", WGenFrame.attach_tagged),
-    menuentry("Clear tags", clear_tags),
-})
-
-
--- Context menu for floating frames -- add sticky toggle.
-defmenu("ctxmenu-floatframe", {
-    menuentry("Close", WMPlex.close_sub_or_self),
-    menuentry("Kill", make_mplex_clientwin_fn(WClientWin.kill)),
-    menuentry("(Un)tag", make_mplex_sub_fn(WRegion.toggle_tag)),
-    menuentry("Attach tagged", WGenFrame.attach_tagged),
-    menuentry("Clear tags", clear_tags),
-    menuentry("(Un)stick", function(f) f:toggle_sticky() end),
-})
-
diff --git a/etc/skel/.ion2/ion.lua b/etc/skel/.ion2/ion.lua
deleted file mode 100644 (file)
index 01ec9fc..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
---
--- Ion main configuration file
---
-
--- Set default modifier. Alt should usually be mapped to Mod1 on
--- XFree86-based systems. The flying window keys are probably Mod3
--- or Mod4; see the output of 'xmodmap'.
-DEFAULT_MOD = "Mod1+"
-ANOTHER_MOD = "Mod4+"
-
--- Maximum delay between clicks in milliseconds to be considered a
--- double click.
---set_dblclick_delay(250)
-
--- For keyboard resize, time (in milliseconds) to wait after latest
--- key press before automatically leaving resize mode (and doing
--- the resize in case of non-opaque move).
---set_resize_delay(1500)
-
--- Opaque resize?
-enable_opaque_resize(false)
-
--- Movement commands warp the pointer to frames instead of just
--- changing focus. Enabled by default.
-enable_warp(true)
-
--- Kludges to make apps behave better.
-include("kludges")
-
--- Make some bindings.
-include("ion-bindings")
-
--- Define some menus (menu module required to actually use them)
-include("ion-menus")
-
--- How to shorten window titles when the full title doesn't fit in
--- the available space? The first-defined matching rule that succeeds 
--- in making the title short enough is used.
-add_shortenrule("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("(.*) - Mozilla", "$1$|$1$<...")
-add_shortenrule("XMMS - (.*)", "$1$|...$>$1")
-add_shortenrule("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("[^:]+: (.*)", "$1$|$1$<...")
-add_shortenrule("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("(.*)", "$1$|$1$<...")
-
--- List of directories to look for manuals in the F1 man page query.
-query_man_path={
-    "/usr/man",
-    "/usr/share/man",
-    "/usr/X11R6/man",
-    "/usr/local/man"
-}
-
--- Modules.
-load_module("query")
-load_module("menu")
-load_module("ionws")
-load_module("floatws")
---load_module("dock")
diff --git a/etc/skel/.ion2/ionws.lua b/etc/skel/.ion2/ionws.lua
deleted file mode 100644 (file)
index d97f404..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
---
--- Ion ionws module configuration file
---
-
--- Bindings for the tiled workspaces (ionws). These should work on any 
--- object on the workspace.
-
-include("go_frame_or_desk")
-
-ionws_bindings {
-   kpress(DEFAULT_MOD.."Down", function(f) go_frame_or_desk(f, "down") end),
-   kpress(DEFAULT_MOD.."Up", function(f) go_frame_or_desk(f, "up") end),
-   kpress(DEFAULT_MOD.."Right", function(f) go_frame_or_desk(f, "right") end),
-   kpress(DEFAULT_MOD.."Left", function(f) go_frame_or_desk(f, "left") end)
-}
-
-
-
--- Frame bindings. These work in (Ion/tiled-style) frames. Some bindings
--- that are common to all frame types and multiplexes are defined in
--- ion-bindings.lua.
-
-ionframe_bindings{
-    kpress(DEFAULT_MOD.."R", WIonFrame.begin_resize),
-    kpress(DEFAULT_MOD.."S",
-           function(frame) frame:split("bottom") end),
-
-    submap(DEFAULT_MOD.."K", {
-        --kpress("AnyModifier+T", 
-        --       make_mplex_clientwin_fn(WClientWin.toggle_transients_pos)),
-        kpress("AnyModifier+X", WIonFrame.relocate_and_close),
-        kpress("AnyModifier+S",
-               function(frame) frame:split("right") end),
-    }),
-    
-    mclick("Button1", WGenFrame.p_switch_tab, "tab"),
-    mdblclick("Button1", WIonFrame.toggle_shade, "tab"),
-    mdrag("Button1", WGenFrame.p_tabdrag, "tab"),
-    mdrag("Button1", WGenFrame.p_resize, "border"),
-    
-    mclick("Button2", WGenFrame.p_switch_tab, "tab"),
-    mdrag("Button2", WGenFrame.p_tabdrag, "tab"),
-    
-    mdrag(DEFAULT_MOD.."Button3", WGenFrame.p_resize),
-}
-
-
--- Frame resize mode bindings
-
-ionframe_moveres_bindings{
-    kpress("AnyModifier+Escape", WIonFrame.cancel_resize),
-    kpress("AnyModifier+Return", WIonFrame.end_resize),
-    
-    kpress("Left", function(f) f:do_resize( 1, 0, 0, 0) end),
-    kpress("Right",function(f) f:do_resize( 0, 1, 0, 0) end),
-    kpress("Up",   function(f) f:do_resize( 0, 0, 1, 0) end),
-    kpress("Down", function(f) f:do_resize( 0, 0, 0, 1) end),
-    kpress("F",    function(f) f:do_resize( 1, 0, 0, 0) end),
-    kpress("B",    function(f) f:do_resize( 0, 1, 0, 0) end),
-    kpress("P",    function(f) f:do_resize( 0, 0, 1, 0) end),
-    kpress("N",    function(f) f:do_resize( 0, 0, 0, 1) end),
-
-    kpress("Shift+Left", function(f) f:do_resize(-1, 0, 0, 0) end),
-    kpress("Shift+Right",function(f) f:do_resize( 0,-1, 0, 0) end),
-    kpress("Shift+Up",   function(f) f:do_resize( 0, 0,-1, 0) end),
-    kpress("Shift+Down", function(f) f:do_resize( 0, 0, 0,-1) end),
-    kpress("Shift+F",    function(f) f:do_resize(-1, 0, 0, 0) end),
-    kpress("Shift+B",    function(f) f:do_resize( 0,-1, 0, 0) end),
-    kpress("Shift+P",    function(f) f:do_resize( 0, 0,-1, 0) end),
-    kpress("Shift+N",    function(f) f:do_resize( 0, 0, 0,-1) end),
-}
diff --git a/etc/skel/.ion2/kludges.lua b/etc/skel/.ion2/kludges.lua
deleted file mode 100644 (file)
index 2373eff..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
---
--- Options to get some programs work more nicely (or at all)
---
-
-winprop{
-    class = "AcroRead",
-    instance = "documentShell",
-    acrobatic = true
-}
-
--- Galeon's find dialog does not always have its transient_for hint 
--- set when the window is being mapped.
-winprop{
-    class = "galeon_browser",
-    instance = "dialog_find",
-    transient_mode = "current",
-}
-
--- We really must use XMMS. 
-winprop{
-    class = "xmms",
-    instance = "XMMS_Playlist",
-    transient_mode = "off"
-}
-
-winprop{
-    class = "xmms",
-    instance = "XMMS_Player",
-    transient_mode = "off"
-}
diff --git a/etc/skel/.ion2/look-brownsteel.lua b/etc/skel/.ion2/look-brownsteel.lua
deleted file mode 100644 (file)
index 5cec668..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
--- look-brownsteel.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    background_colour = "#505050",
-    foreground_colour = "#a0a0a0",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    padding_colour = "#505050",
-    background_colour = "#000000",
-    foreground_colour = "#ffffff",
-    padding_pixels = 2,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    de_substyle("active", {
-        shadow_colour = "#203040",
-        highlight_colour = "#607080",
-        padding_colour = "#405060",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 1,
-    spacing = 1,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#304050",
-        highlight_colour = "#708090",
-        background_colour = "#506070",
-        foreground_colour = "#ffffff",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#203040",
-        highlight_colour = "#607080",
-        background_colour = "#405060",
-        foreground_colour = "#a0a0a0",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#404040",
-        highlight_colour = "#909090",
-        background_colour = "#606060",
-        foreground_colour = "#a0a0a0",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#404040",
-        highlight_colour = "#707070",
-        background_colour = "#505050",
-        foreground_colour = "#a0a0a0",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#404040",
-        highlight_colour = "#707070",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    background_colour = "#000000",
-    foreground_colour = "#ffffff",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "#ffffff",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#505050",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("input-menu", {
-    based_on = "*",
-    de_substyle("active", {
-        shadow_colour = "#304050",
-        highlight_colour = "#708090",
-        background_colour = "#506070",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-clean.lua b/etc/skel/.ion2/look-clean.lua
deleted file mode 100644 (file)
index ecf085a..0000000
+++ /dev/null
@@ -1,125 +0,0 @@
--- look-clean.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "grey",
-    highlight_colour = "grey",
-    background_colour = "#545d75",
-    foreground_colour = "grey",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "fixed",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    padding_colour = "#545d75",
-    background_colour = "black",
-    de_substyle("active", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        padding_colour = "#545d75",
-        background_colour = "black",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    padding_pixels = 0,
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-    spacing = 1,
-})
-
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "fixed",
-    de_substyle("active-selected", {
-        shadow_colour = "white",
-        highlight_colour = "white",
-        background_colour = "#8a999e",
-        foreground_colour = "white",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        background_colour = "#545d75",
-        foreground_colour = "grey",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        background_colour = "#545d75",
-        foreground_colour = "grey",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        background_colour = "#545d75",
-        foreground_colour = "grey",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    de_substyle("inactive-selected", {
-        shadow_colour = "grey",
-        highlight_colour = "grey",
-        background_colour = "#8a999e",
-        foreground_colour = "grey",
-    }),
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
---    font = "-*-fixed-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "grey",
-    highlight_colour = "grey",
-    background_colour = "#545d75",
-    foreground_colour = "white",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "white",
-        foreground_colour = "#545d75",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#aaaaaa",
-        foreground_colour = "black",
-    }),
-    font = "fixed",
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-cleanios.lua b/etc/skel/.ion2/look-cleanios.lua
deleted file mode 100644 (file)
index f774c13..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
--- look-cleanios.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#ffffff",
-    highlight_colour = "#ffffff",
-    background_colour = "#d8d8d8",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    spacing = 0,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    padding_colour = "#d8d8d8",
-    background_colour = "#000000",
-    transparent_background = false,
-})
-
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    shadow_pixels = 0,
-    highlight_pixels = 0,
-    padding_pixels = 0,
-    spacing = 1,
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#f0f066",
-        highlight_colour = "#f0f066",
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#d8d8d8",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#a8a8a8",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#d8d8d8",
-        foreground_colour = "#000000",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input-edln", {
-    based_on = "*",
-    de_substyle("*-cursor", {
-        background_colour = "#000000",
-        foreground_colour = "#d8d8d8",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-cleanviolet.lua b/etc/skel/.ion2/look-cleanviolet.lua
deleted file mode 100644 (file)
index 4732001..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
---
--- Look-cleanviolet for Ion's default drawing engine. 
--- Based on look-clean and look-violetgrey.
--- 
-
-if not gr_select_engine("de") then
-    return
-end
-
--- Clear existing styles from memory.
-de_reset()
-
--- Base style
-de_define_style("*", {
-    -- Gray background
-    highlight_colour = "#eeeeee",
-    shadow_colour = "#eeeeee",
-    background_colour = "#aaaaaa",
-    foreground_colour = "#000000",
-    
-    shadow_pixels = 1,
-    highlight_pixels = 1,
-    padding_pixels = 1,
-    spacing = 0,
-    border_style = "elevated",
-    
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-
-de_define_style("frame", {
-    based_on = "*",
-    padding_colour = "#aaaaaa",
-    background_colour = "#000000",
-    transparent_background = false,
-})
-
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    shadow_pixels = 0,
-    highlight_pixels = 0,
-    padding_pixels = 0,
-    spacing = 1,
-})
-
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    
-    de_substyle("active-selected", {
-        -- Violet tab
-        highlight_colour = "#aaaacc",
-        shadow_colour = "#aaaacc",
-        background_colour = "#666699",
-        foreground_colour = "#eeeeee",
-    }),
-
-    de_substyle("inactive-selected", {
-        -- Greyish violet tab
-        highlight_colour = "#eeeeff",
-        shadow_colour = "#eeeeff",
-        background_colour = "#9999aa",
-        foreground_colour = "#000000",
-    }),
-})
-
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-
-    de_substyle("*-*-*-*-activity", {
-        -- Red tab
-        highlight_colour = "#eeeeff",
-        shadow_colour = "#eeeeff",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-    bar_inside_frame = true,
-})
-
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    spacing = 1,
-})
-
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-
-de_define_style("input", {
-    based_on = "*",
-    text_align = "left",
-    spacing = 1,
-    -- Greyish violet background
-    highlight_colour = "#eeeeff",
-    shadow_colour = "#eeeeff",
-    background_colour = "#9999aa",
-    foreground_colour = "#000000",
-    
-    de_substyle("*-selection", {
-        background_colour = "#777799",
-        foreground_colour = "#000000",
-    }),
-
-    de_substyle("*-cursor", {
-        background_colour = "#000000",
-        foreground_colour = "#9999aa",
-    }),
-})
-
-    
--- Refresh objects' brushes.
-gr_refresh()
diff --git a/etc/skel/.ion2/look-dusky.lua b/etc/skel/.ion2/look-dusky.lua
deleted file mode 100644 (file)
index 76177ee..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
--- look-dusky.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    background_colour = "#505050",
-    foreground_colour = "#a0a0a0",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    padding_colour = "#505050",
-    background_colour = "#000000",
-    foreground_colour = "#ffffff",
-    padding_pixels = 2,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    de_substyle("active", {
-        shadow_colour = "#452727",
-        highlight_colour = "#866868",
-        padding_colour = "#664848",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 1,
-    spacing = 1,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#452727",
-        highlight_colour = "#866868",
-        background_colour = "#664848",
-        foreground_colour = "#ffffff",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#351818",
-        highlight_colour = "#765858",
-        background_colour = "#563838",
-        foreground_colour = "#a0a0a0",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#404040",
-        highlight_colour = "#909090",
-        background_colour = "#606060",
-        foreground_colour = "#a0a0a0",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#404040",
-        highlight_colour = "#707070",
-        background_colour = "#505050",
-        foreground_colour = "#a0a0a0",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#404040",
-        highlight_colour = "#707070",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "#404040",
-    highlight_colour = "#707070",
-    background_colour = "#000000",
-    foreground_colour = "#ffffff",
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "#ffffff",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#505050",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("input-menu", {
-    based_on = "*",
-    de_substyle("active", {
-        shadow_colour = "#452727",
-        highlight_colour = "#866868",
-        background_colour = "#664848",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-greyviolet.lua b/etc/skel/.ion2/look-greyviolet.lua
deleted file mode 100644 (file)
index 0adbe26..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
--- look-greyviolet.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#777777",
-    highlight_colour = "#eeeeee",
-    background_colour = "#aaaaaa",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "#777777",
-    highlight_colour = "#eeeeee",
-    padding_colour = "#aaaaaa",
-    background_colour = "#000000",
-    foreground_colour = "#ffffff",
-    padding_pixels = 2,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    de_substyle("active", {
-        shadow_colour = "#777777",
-        highlight_colour = "#eeeeee",
-        background_colour = "#aaaaaa",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 1,
-    spacing = 1,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#333366",
-        highlight_colour = "#aaaacc",
-        background_colour = "#666699",
-        foreground_colour = "#eeeeee",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#777777",
-        highlight_colour = "#eeeeee",
-        background_colour = "#aaaaaa",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#777788",
-        highlight_colour = "#eeeeff",
-        background_colour = "#9999aa",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#777777",
-        highlight_colour = "#eeeeee",
-        background_colour = "#aaaaaa",
-        foreground_colour = "#000000",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#777777",
-        highlight_colour = "#eeeeee",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "#777777",
-    highlight_colour = "#eeeeee",
-    background_colour = "#aaaaaa",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "#000000",
-        foreground_colour = "#aaaaaa",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#aaaaaa",
-        foreground_colour = "black",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-grml.lua b/etc/skel/.ion2/look-grml.lua
deleted file mode 100644 (file)
index 7f89e54..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
--- look-grml.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#ffffff",
-    highlight_colour = "#ffffff",
-    background_colour = "#c0c0c0",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    spacing = 0,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    padding_colour = "#c0c0c0",
-    background_colour = "#000000",
-    transparent_background = false,
-})
-
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    shadow_pixels = 0,
-    highlight_pixels = 0,
-    padding_pixels = 0,
-    spacing = 1,
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#ffda62",
-        highlight_colour = "#ffda62",
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#c0c0c0",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#a8a8a8",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#c0c0c0",
-        foreground_colour = "#000000",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#ffffff",
-        highlight_colour = "#ffffff",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input-edln", {
-    based_on = "*",
-    de_substyle("*-cursor", {
-        background_colour = "#000000",
-        foreground_colour = "#c0c0c0",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-ios.lua b/etc/skel/.ion2/look-ios.lua
deleted file mode 100644 (file)
index f22397d..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
--- look-ios.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "#606060",
-    highlight_colour = "#ffffff",
-    background_colour = "#d8d8d8",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "#606060",
-    highlight_colour = "#ffffff",
-    padding_colour = "#d8d8d8",
-    background_colour = "#000000",
-    foreground_colour = "#000000",
-    padding_pixels = 2,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    de_substyle("active", {
-        shadow_colour = "#606060",
-        highlight_colour = "#ffffff",
-        background_colour = "#d8d8d8",
-        foreground_colour = "#000000",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 1,
-    spacing = 0,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-bold-r-normal-*-10-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "#f09000",
-        highlight_colour = "#f0f066",
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "#606060",
-        highlight_colour = "#ffffff",
-        background_colour = "#d8d8d8",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "#606060",
-        highlight_colour = "#efefef",
-        background_colour = "#a8a8a8",
-        foreground_colour = "#000000",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "#606060",
-        highlight_colour = "#ffffff",
-        background_colour = "#d8d8d8",
-        foreground_colour = "#000000",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "#606060",
-        highlight_colour = "#ffffff",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 0,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "#606060",
-    highlight_colour = "#ffffff",
-    background_colour = "#d8d8d8",
-    foreground_colour = "#000000",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "#000000",
-        foreground_colour = "#d8d8d8",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "#f0c000",
-        foreground_colour = "#000000",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-simpleblue.lua b/etc/skel/.ion2/look-simpleblue.lua
deleted file mode 100644 (file)
index 61c7581..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
--- look-simpleblue.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "black",
-    highlight_colour = "black",
-    background_colour = "#0f1f4f",
-    foreground_colour = "#9f9f9f",
-    padding_pixels = 1,
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "black",
-    highlight_colour = "black",
-    padding_colour = "black",
-    background_colour = "black",
-    foreground_colour = "#ffffff",
-    padding_pixels = 0,
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-    de_substyle("active", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "black",
-        foreground_colour = "#ffffff",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 0,
-    spacing = 1,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#3f3f3f",
-        foreground_colour = "#9f9f9f",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#0f1f4f",
-        foreground_colour = "#9f9f9f",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#0f1f4f",
-        foreground_colour = "#9f9f9f",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#0f1f4f",
-        foreground_colour = "#9f9f9f",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "black",
-    highlight_colour = "black",
-    background_colour = "#3f3f3f",
-    foreground_colour = "white",
-    padding_pixels = 1,
-    highlight_pixels = 0,
-    shadow_pixels = 0,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "white",
-        foreground_colour = "#3f3f3f",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "black",
-        foreground_colour = "white",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/look-wheat2.lua b/etc/skel/.ion2/look-wheat2.lua
deleted file mode 100644 (file)
index c368ff3..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
--- look-wheat2.lua drawing engine configuration file for Ion.
-
-if not gr_select_engine("de") then return end
-
-de_reset()
-
-de_define_style("*", {
-    shadow_colour = "gray10",
-    highlight_colour = "gray10",
-    background_colour = "#7f7f75",
-    foreground_colour = "white",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    font = "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*",
-    text_align = "center",
-})
-
-de_define_style("frame", {
-    based_on = "*",
-    shadow_colour = "gray10",
-    highlight_colour = "gray10",
-    padding_colour = "#7f7f75",
-    background_colour = "black",
-    foreground_colour = "white",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    de_substyle("active", {
-        shadow_colour = "gray10",
-        highlight_colour = "gray10",
-        background_colour = "#7f7f75",
-        foreground_colour = "white",
-    }),
-})
-
-de_define_style("frame-ionframe", {
-    based_on = "frame",
-    border_style = "inlaid",
-    padding_pixels = 1,
-    spacing = 1,
-})
-
-de_define_style("frame-floatframe", {
-    based_on = "frame",
-    border_style = "ridge"
-})
-
-de_define_style("tab", {
-    based_on = "*",
-    font = "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*",
-    de_substyle("active-selected", {
-        shadow_colour = "gray10",
-        highlight_colour = "gray10",
-        background_colour = "#aaaa9e",
-        foreground_colour = "white",
-    }),
-    de_substyle("active-unselected", {
-        shadow_colour = "gray10",
-        highlight_colour = "gray10",
-        background_colour = "#7f7f75",
-        foreground_colour = "white",
-    }),
-    de_substyle("inactive-selected", {
-        shadow_colour = "gray10",
-        highlight_colour = "gray10",
-        background_colour = "#7f7f75",
-        foreground_colour = "white",
-    }),
-    de_substyle("inactive-unselected", {
-        shadow_colour = "gray10",
-        highlight_colour = "gray10",
-        background_colour = "#7f7f75",
-        foreground_colour = "#aaaa9e",
-    }),
-    text_align = "center",
-})
-
-de_define_style("tab-frame", {
-    based_on = "tab",
-    de_substyle("*-*-*-*-activity", {
-        shadow_colour = "black",
-        highlight_colour = "black",
-        background_colour = "#990000",
-        foreground_colour = "#eeeeee",
-    }),
-})
-
-de_define_style("tab-frame-ionframe", {
-    based_on = "tab-frame",
-    spacing = 1,
-})
-
-de_define_style("tab-menuentry", {
-    based_on = "tab",
-    text_align = "left",
-})
-
-de_define_style("tab-menuentry-big", {
-    based_on = "tab-menuentry",
-    font = "-*-helvetica-medium-r-normal-*-17-*-*-*-*-*-*-*",
-    padding_pixels = 7,
-})
-
-de_define_style("input", {
-    based_on = "*",
-    shadow_colour = "black",
-    highlight_colour = "black",
-    background_colour = "#454545",
-    foreground_colour = "white",
-    padding_pixels = 1,
-    highlight_pixels = 1,
-    shadow_pixels = 1,
-    border_style = "elevated",
-    de_substyle("*-cursor", {
-        background_colour = "white",
-        foreground_colour = "#454545",
-    }),
-    de_substyle("*-selection", {
-        background_colour = "black",
-        foreground_colour = "white",
-    }),
-})
-
-gr_refresh()
-
diff --git a/etc/skel/.ion2/menu.lua b/etc/skel/.ion2/menu.lua
deleted file mode 100644 (file)
index 6dce898..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---
--- Menu module configuration. 
--- 
--- Only bindings that are effect in menus are configured here. 
--- See ion-menus.lua for menu definitions and ion-bindings.lua
--- for bindings to display menus.
---
-
-
-menu_bindings{
-    kpress("Escape", WMenu.cancel),
-    kpress("Control+G", WMenu.cancel),
-    kpress("Control+C", WMenu.cancel),
-    kpress("AnyModifier+P", WMenu.select_prev),
-    kpress("AnyModifier+N", WMenu.select_next),
-    kpress("Up", WMenu.select_prev),
-    kpress("Down", WMenu.select_next),
-    kpress("Return", WMenu.finish),
-    kpress("KP_Enter", WMenu.finish),
-    kpress("Control+M", WMenu.finish),
-}
-
diff --git a/etc/skel/.ion2/pwm-bindings.lua b/etc/skel/.ion2/pwm-bindings.lua
deleted file mode 100644 (file)
index a2c8980..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
--- 
--- PWM bindings configuration file. Global bindings and bindings common 
--- to screens and all types of frames only. See modules' configuration 
--- files for other bindings.
---
-
--- Load a library to create menu display callbacks.
-include("menulib")
--- Load a library to create common queries.
---include("querylib.lua")
-
-
--- global_bindings
---
--- Global bindings are available all the time. The functions given here 
--- should accept WScreens as parameter. 
---
--- The variable DEFAULT_MOD should contain a string of the form 'Mod1+'
--- where Mod1 maybe replaced with the modifier you want to use for most
--- of the bindings. Similarly SECOND_MOD may be redefined to add a 
--- modifier to some of the F-key bindings.
-
-global_bindings{
-    kpress(DEFAULT_MOD.."1", function(s) s:switch_nth(0) end),
-    kpress(DEFAULT_MOD.."2", function(s) s:switch_nth(1) end),
-    kpress(DEFAULT_MOD.."3", function(s) s:switch_nth(2) end),
-    kpress(DEFAULT_MOD.."4", function(s) s:switch_nth(3) end),
-    kpress(DEFAULT_MOD.."5", function(s) s:switch_nth(4) end),
-    kpress(DEFAULT_MOD.."6", function(s) s:switch_nth(5) end),
-    kpress(DEFAULT_MOD.."7", function(s) s:switch_nth(6) end),
-    kpress(DEFAULT_MOD.."8", function(s) s:switch_nth(7) end),
-    kpress(DEFAULT_MOD.."9", function(s) s:switch_nth(8) end),
-    kpress(DEFAULT_MOD.."0", function(s) s:switch_nth(9) end),
-    kpress(DEFAULT_MOD.."Left", WScreen.switch_prev),
-    kpress(DEFAULT_MOD.."Right", WScreen.switch_next),
-    
-    submap(DEFAULT_MOD.."K", {
-        kpress("AnyModifier+K", goto_previous),
-        kpress("AnyModifier+T", clear_tags),
-    }),
-    
-    kpress(DEFAULT_MOD.."Shift+1", function() goto_nth_screen(0) end),
-    kpress(DEFAULT_MOD.."Shift+2", function() goto_nth_screen(1) end),
-    kpress(DEFAULT_MOD.."Shift+Left", goto_next_screen),
-    kpress(DEFAULT_MOD.."Shift+Right", goto_prev_screen),
-    
-    kpress(DEFAULT_MOD.."F1", function(scr)
-                                  -- Display PWM manual page
-                                  local m=lookup_script("ion-man")
-                                  if m then
-                                      exec_in(scr, m.." pwm")
-                                  end
-                              end),
-    kpress("F2", make_exec_fn("x-terminal-emulator")),
-    
-    -- Create a new workspace with a default name.
-    kpress(DEFAULT_MOD.."F9", 
-           function(scr)
-               scr:attach_new({ type=default_ws_type, switchto=true })
-           end),
-
-    -- Menus
-
-    -- KEYF11 and KEYF12 are normally defined to be the strings "F11" 
-    -- and "F12", respectively, but on SunOS, they're something  else 
-    -- (although the keys on the keyboard are the same).
-    kpress(SECOND_MOD..KEYF12, make_bigmenu_fn("mainmenu")),
-    mpress("Button2", make_pmenu_fn("windowlist")),
-    mpress("Button3", make_pmenu_fn("mainmenu")),
-}
-
-
--- mplex_bindings
---
--- These bindings work in frames and on screens. The innermost of such
--- objects always gets to handle the key press. Essentially these bindings
--- are used to define actions on client windows. (Remember that client
--- windows can be put in fullscreen mode and therefore may not have a
--- frame.)
--- 
--- The make_*_fn functions are used to call functions on the object currently 
--- managed by the screen or frame or the frame itself. Essentially e.g.
--- make_mplex_clientwin_fn(fn) expands to
--- 
--- function(mplex, sub)
---     local reg=(sub or mplex:current())
---     if obj_is(reg, "WClientWin") then 
---         fn(reg)
---     end
--- end
--- 
--- For details see the document "Ion: Configuring and extending with Lua".
-
-mplex_bindings{
-    kpress_waitrel(DEFAULT_MOD.."C", WMPlex.close_sub_or_self),
-    kpress_waitrel(DEFAULT_MOD.."L", 
-                   make_mplex_clientwin_fn(WClientWin.broken_app_resize_kludge)),
-    kpress_waitrel(DEFAULT_MOD.."Return", 
-                   make_mplex_clientwin_fn(WClientWin.toggle_fullscreen)),
-
-    submap(DEFAULT_MOD.."K", {
-        kpress("AnyModifier+C",
-               make_mplex_clientwin_fn(WClientWin.kill)),
-        kpress("AnyModifier+Q", 
-               make_mplex_clientwin_fn(WClientWin.quote_next)),
-    }),
-}
-
-
--- genframe_bindings
---
--- These bindings are common to all types of frames. The rest of frame
--- bindings that differ between frame types are defined in the modules' 
--- configuration files.
-
-genframe_bindings{
-    -- Tag viewed object
-    kpress(DEFAULT_MOD.."T", make_mplex_sub_fn(WRegion.toggle_tag)),
-
-    submap(DEFAULT_MOD.."K", {
-        -- Selected object/tab switching
-        kpress("AnyModifier+N", WGenFrame.switch_next),
-        kpress("AnyModifier+P", WGenFrame.switch_prev),
-        kpress("AnyModifier+1", function(f) f:switch_nth(0) end),
-        kpress("AnyModifier+2", function(f) f:switch_nth(1) end),
-        kpress("AnyModifier+3", function(f) f:switch_nth(2) end),
-        kpress("AnyModifier+4", function(f) f:switch_nth(3) end),
-        kpress("AnyModifier+5", function(f) f:switch_nth(4) end),
-        kpress("AnyModifier+6", function(f) f:switch_nth(5) end),
-        kpress("AnyModifier+7", function(f) f:switch_nth(6) end),
-        kpress("AnyModifier+8", function(f) f:switch_nth(7) end),
-        kpress("AnyModifier+9", function(f) f:switch_nth(8) end),
-        kpress("AnyModifier+0", function(f) f:switch_nth(9) end),
-        -- Maximize
-        kpress("AnyModifier+H", WGenFrame.maximize_horiz),
-        kpress("AnyModifier+V", WGenFrame.maximize_vert),
-        -- Attach tagged objects
-        kpress("AnyModifier+A", WGenFrame.attach_tagged),
-    }),
-    
-    -- Queries
-    --[[
-    kpress(DEFAULT_MOD.."A", querylib.query_attachclient),
-    kpress(DEFAULT_MOD.."G", querylib.query_gotoclient),
-    kpress(SECOND_MOD.."F1", querylib.query_man),
-    kpress(SECOND_MOD.."F3", querylib.query_exec),
-    kpress(DEFAULT_MOD.."F3", querylib.query_lua),
-    kpress(SECOND_MOD.."F4", querylib.query_ssh),
-    kpress(SECOND_MOD.."F5", querylib.query_editfile),
-    kpress(SECOND_MOD.."F6", querylib.query_runfile),
-    kpress(SECOND_MOD.."F9", querylib.query_workspace),
-    --]]
-    -- Menus
-    kpress(DEFAULT_MOD.."M", make_menu_fn("ctxmenu")),
-    mpress("Button3", make_pmenu_fn("ctxmenu"), "tab"),
-}
-
diff --git a/etc/skel/.ion2/pwm-menus.lua b/etc/skel/.ion2/pwm-menus.lua
deleted file mode 100644 (file)
index 050a753..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
---
--- PWM menu definitions
---
-
-
--- Load a library with some convenience functions.
-include("menulib")
-
-
--- Main menu
-defmenu("mainmenu", {
-    submenu("Programs", "appmenu"),
-    menuentry("Lock screen", make_exec_fn("xlock")),
-    submenu("Workspaces", "wsmenu"),
-    submenu("Styles", "stylemenu"),
-    submenu("Exit", "exitmenu"),
-})
-
-
--- Application menu
-defmenu("appmenu", {
-    menuentry("XTerm", make_exec_fn("x-terminal-emulator")),
-    menuentry("Mozilla Firefox", make_exec_fn("firefox")),
-    menuentry("Xdvi", make_exec_fn("xdvi")),
-    menuentry("GV", make_exec_fn("gv")),
-})
-
-
--- Menu with restart/exit alternatives
-defmenu("exitmenu", {
-    menuentry("Restart", restart_wm),
-    menuentry("Restart Ion", function() restart_other_wm("ion") end),
-    menuentry("Restart TWM", function() restart_other_wm("twm") end),
-    menuentry("Exit", exit_wm),
-})
-
-
--- Workspaces
-defmenu("wsmenu", {
-    menuentry("New", function(m) 
-                         m:screen_of():attach_new({
-                             type=(default_ws_type or "WFloatWS"), 
-                             switchto=true,}) 
-                     end),
-    menuentry("Close", function(m) m:screen_of():current():close() end),
-    submenu("List", "workspacelist"),
-})
-
-
--- Context menu (frame/client window actions)
-defmenu("ctxmenu", {
-    menuentry("Close", WMPlex.close_sub_or_self),
-    menuentry("Kill", make_mplex_clientwin_fn(WClientWin.kill)),
-    menuentry("(Un)tag", make_mplex_sub_fn(WRegion.toggle_tag)),
-    menuentry("Attach tagged", WGenFrame.attach_tagged),
-    menuentry("Clear tags", clear_tags),
-})
-
-
--- Context menu for floating frames -- add sticky toggle.
-defmenu("ctxmenu-floatframe", {
-    menuentry("Close", WMPlex.close_sub_or_self),
-    menuentry("Kill", make_mplex_clientwin_fn(WClientWin.kill)),
-    menuentry("(Un)tag", make_mplex_sub_fn(WRegion.toggle_tag)),
-    menuentry("Attach tagged", WGenFrame.attach_tagged),
-    menuentry("Clear tags", clear_tags),
-    menuentry("(Un)stick", function(f) f:toggle_sticky() end),
-})
-
diff --git a/etc/skel/.ion2/pwm.lua b/etc/skel/.ion2/pwm.lua
deleted file mode 100644 (file)
index a626bb8..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
---
--- PWM main configuration file
---
-
--- Set default modifier. Alt should usually be mapped to Mod1 on
--- XFree86-based systems. The flying window keys are probably Mod3
--- or Mod4; see the output of 'xmodmap'.
-DEFAULT_MOD = "Mod1+"
-
--- Set default workspace type.
-default_ws_type="WFloatWS"
-
--- Maximum delay between clicks in milliseconds to be considered a
--- double click.
---set_dblclick_delay(250)
-
--- For keyboard resize, time (in milliseconds) to wait after latest
--- key press before automatically leaving resize mode (and doing
--- the resize in case of non-opaque move).
---set_resize_delay(1500)
-
--- Opaque resize?
-enable_opaque_resize(false)
-
--- Movement commands warp the pointer to frames instead of just
--- changing focus. Enabled by default.
-enable_warp(false)
-
--- Kludges to make apps behave better.
-include("kludges")
-
--- Make some bindings.
-include("pwm-bindings")
-
--- Define some menus (menu module required to actually use them)
-include("pwm-menus")
-
--- How to shorten window titles when the full title doesn't fit in
--- the available space? The first-defined matching rule that succeeds 
--- in making the title short enough is used.
-add_shortenrule("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("(.*) - Mozilla", "$1$|$1$<...")
-add_shortenrule("XMMS - (.*)", "$1$|...$>$1")
-add_shortenrule("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("[^:]+: (.*)", "$1$|$1$<...")
-add_shortenrule("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
-add_shortenrule("(.*)", "$1$|$1$<...")
-
--- List of directories to look for manuals in the F1 man page query.
-query_man_path={
-    "/usr/man",
-    "/usr/share/man",
-    "/usr/X11R6/man",
-    "/usr/local/man"
-}
-
--- Modules.
-load_module("floatws")
-load_module("menu")
---load_module("query")
-load_module("dock")
diff --git a/etc/skel/.ion2/query.lua b/etc/skel/.ion2/query.lua
deleted file mode 100644 (file)
index 21c9f02..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
---
--- Query module configuration.
---
--- Only bindings that are in effect in queries and message displays are
--- configured here. Actions to display queries are configured in
--- ion-bindings.lua
--- 
-
-
-query_wedln_bindings{
-    kpress("Control+F", WEdln.forward),
-    kpress("Control+B", WEdln.back),
-    kpress("Control+E", WEdln.eol),
-    kpress("Control+A", WEdln.bol),
-    kpress("Control+Z", WEdln.bskip_word),
-    kpress("Control+X", WEdln.skip_word),
-
-    kpress("Control+D", WEdln.delete),
-    kpress("Control+H", WEdln.backspace),
-    kpress("Control+J", WEdln.kill_to_eol),
-    kpress("Control+Y", WEdln.kill_line),
-    kpress("Control+W", WEdln.kill_word),
-    kpress("Control+O", WEdln.bkill_word),
-
-    kpress("Control+P", WEdln.history_prev),
-    kpress("Control+N", WEdln.history_next),
-
-    kpress("Control+M", WEdln.finish),
-    
-    submap("Control+K", {
-        kpress("AnyModifier+B", WEdln.set_mark),
-        kpress("AnyModifier+Y", WEdln.cut),
-        kpress("AnyModifier+K", WEdln.copy),
-        kpress("AnyModifier+C", WEdln.paste),
-        kpress("AnyModifier+G", WEdln.clear_mark),
-    }),
-
-    kpress("Return", WEdln.finish),
-    kpress("KP_Enter", WEdln.finish),
-    kpress("Delete", WEdln.delete),
-    kpress("BackSpace", WEdln.backspace),
-    kpress("Home", WEdln.bol),
-    kpress("End", WEdln.eol),
-    kpress("Tab", WEdln.complete),
-    kpress("Up", WEdln.history_prev),
-    kpress("Down", WEdln.history_next),
-    kpress("Right", WEdln.forward),
-    kpress("Left", WEdln.back),
-
-    mclick("Button2", WEdln.paste),
-}
-
-query_bindings{
-    kpress("Escape", WInput.cancel),
-    kpress("Control+G", WInput.cancel),
-    kpress("Control+C", WInput.cancel),
-    kpress("Control+U", WInput.scrollup),
-    kpress("Control+V", WInput.scrolldown),
-    kpress("Page_Up", WInput.scrollup),
-    kpress("Page_Down", WInput.scrolldown),
-}
-
-
diff --git a/etc/skel/.ion3/.welcome_msg_displayed b/etc/skel/.ion3/.welcome_msg_displayed
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/etc/skel/.ion3/default-session--0/saved_layout.lua b/etc/skel/.ion3/default-session--0/saved_layout.lua
deleted file mode 100644 (file)
index 98776be..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
--- This file has been generated by Ion. Do not edit.
-return {
-    [0] = {
-        ["subs"] = {
-            [1] = {
-                ["type"] = "WIonWS",
-                ["name"] = "WIonWS",
-                ["switchto"] = true,
-                ["split_tree"] = {
-                    ["tls"] = 753,
-                    ["tl"] = {
-                        ["type"] = "WSplitRegion",
-                        ["regparams"] = {
-                            ["flags"] = 8,
-                            ["type"] = "WFrame",
-                            ["name"] = "WFrame",
-                            ["subs"] = {
-                                [1] = {
-                                    ["type"] = "WClientWin",
-                                    ["windowid"] = 8388620,
-                                    ["switchto"] = true,
-                                    ["checkcode"] = 1,
-                                },
-                            },
-                            ["frame_style"] = "frame-tiled-ionws",
-                            ["saved_h"] = 768,
-                            ["saved_y"] = 0,
-                        },
-                    },
-                    ["dir"] = "vertical",
-                    ["brs"] = 15,
-                    ["br"] = {
-                        ["type"] = "WSplitST",
-                    },
-                    ["type"] = "WSplitSplit",
-                },
-            },
-            [2] = {
-                ["type"] = "WIonWS",
-                ["name"] = "WIonWS<1>",
-                ["split_tree"] = {
-                    ["tls"] = 753,
-                    ["tl"] = {
-                        ["type"] = "WSplitRegion",
-                        ["regparams"] = {
-                            ["flags"] = 8,
-                            ["type"] = "WFrame",
-                            ["name"] = "WFrame<1>",
-                            ["subs"] = {
-                            },
-                            ["frame_style"] = "frame-tiled-ionws",
-                            ["saved_h"] = 768,
-                            ["saved_y"] = 0,
-                        },
-                    },
-                    ["dir"] = "vertical",
-                    ["brs"] = 15,
-                    ["br"] = {
-                        ["type"] = "WSplitST",
-                    },
-                    ["type"] = "WSplitSplit",
-                },
-            },
-        },
-        ["type"] = "WScreen",
-        ["name"] = "WScreen",
-    },
-}
-
diff --git a/etc/skel/.ion3/default-session--0/saved_queryhist.lua b/etc/skel/.ion3/default-session--0/saved_queryhist.lua
deleted file mode 100644 (file)
index 54434f8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
--- This file has been generated by Ion. Do not edit.
-return {
-}
-
diff --git a/etc/skel/.ion3/default-session--0/saved_wd.lua b/etc/skel/.ion3/default-session--0/saved_wd.lua
deleted file mode 100644 (file)
index 54434f8..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
--- This file has been generated by Ion. Do not edit.
-return {
-}
-