Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 994c49a0619533b97528793e2dcc73fb > files > 3

ion-20040729-4mdk.x86_64.rpm

--
-- 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",
}