]> git.decadent.org.uk Git - ion3.git/blob - etc/cfg_ion.lua
[svn-upgrade] Integrating new upstream version, ion3 (20070506)
[ion3.git] / etc / cfg_ion.lua
1 --
2 -- Ion main configuration file
3 --
4 -- This file only includes some settings that are rather frequently altered.
5 -- The rest of the settings are in cfg_ioncore.lua and individual modules'
6 -- configuration files (cfg_modulename.lua).
7 --
8
9 -- Set default modifiers. Alt should usually be mapped to Mod1 on
10 -- XFree86-based systems. The flying window keys are probably Mod3
11 -- or Mod4; see the output of 'xmodmap'.
12 --META="Mod1+"
13 --ALTMETA=""
14
15 -- Terminal emulator
16 --XTERM="xterm"
17
18 -- Some basic settings
19 ioncore.set{
20     -- Maximum delay between clicks in milliseconds to be considered a
21     -- double click.
22     --dblclick_delay=250,
23
24     -- For keyboard resize, time (in milliseconds) to wait after latest
25     -- key press before automatically leaving resize mode (and doing
26     -- the resize in case of non-opaque move).
27     --kbresize_delay=1500,
28
29     -- Opaque resize?
30     --opaque_resize=false,
31
32     -- Movement commands warp the pointer to frames instead of just
33     -- changing focus. Enabled by default.
34     --warp=true,
35 }
36
37
38 -- Load default settings. The file cfg_defaults loads all the files
39 -- commented out below, except mod_dock. If you do not want to load
40 -- something, comment out this line, and uncomment the lines corresponding
41 -- the the modules or configuration files that you want, below.
42 dopath("cfg_defaults")
43
44 -- Load configuration of the Ion 'core'
45 --dopath("cfg_ioncore")
46
47 -- Load some kludges to make apps behave better.
48 --dopath("cfg_kludges")
49
50 -- Define some layouts. 
51 --dopath("cfg_layouts")
52
53 -- Load some modules. 
54 --dopath("mod_query")
55 --dopath("mod_menu")
56 --dopath("mod_tiling")
57 --dopath("mod_statusbar")
58 --dopath("mod_dock")
59 --dopath("mod_sp")
60
61
62 --
63 -- Common customisations
64 --
65
66 -- Uncommenting the following lines should get you plain-old-menus instead
67 -- of query-menus.
68
69 --defbindings("WScreen", {
70 --    kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
71 --})
72 --
73 --defbindings("WMPlex.toplevel", {
74 --    kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
75 --})
76