]> git.decadent.org.uk Git - ion3.git/blob - etc/cfg_panews.lua
[svn-inject] Installing original source of ion3
[ion3.git] / etc / cfg_panews.lua
1 --
2 -- Ion panews module configuration file
3 --
4
5 -- Bindings for unused area. 
6
7 defbindings("WUnusedWin", {
8     bdoc("Begin move/resize mode."),
9     kpress(META.."R", "WUnusedWin.begin_kbresize(_)"),
10     
11     bdoc("Resize the area."),
12     mdrag(META.."Button3", "WUnusedWin.p_resize(_)"),
13     mdrag(META.."Button1", "WUnusedWin.p_move(_)"),
14 })
15
16
17 mod_panews.set{ 
18     -- Layout template may be one of default|alternative1|alternative2 
19     -- or a template table. (The one for 'default' is reproduced below
20     -- as an example.)
21     --template="default",
22     -- The scale factor parameter controls the size-based classification 
23     -- heuristic. The default of 1.0 is designed for 1280x1024 at 75dpi.
24     --scalef=1.0,
25 }
26
27
28 -- The layout template for the 'default' layout looks as follows.
29 --[[
30 {
31     type="WSplitFloat",
32     dir="horizontal",
33     tls=settings.b_ratio,
34     brs=settings.s_ratio,
35     tl={
36         type="WSplitPane",
37         contents={
38             type="WSplitFloat",
39             dir="vertical",
40             tls=settings.b_ratio2,
41             brs=settings.s_ratio2,
42             tl={
43                 type="WSplitPane",
44                 marker="V:single",
45             },
46             br={
47                 type="WSplitPane",
48                 marker="M:right",
49             },
50         },
51     },
52     br={
53         type="WSplitPane",
54         marker="T:up",
55     },
56 }
57 --]]