]> git.decadent.org.uk Git - ion3.git/blob - etc/cfg_ion.lua
[svn-upgrade] Integrating new upstream version, ion3 (20070608)
[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     -- Switch frames to display newly mapped windows
37     --switchto=true,
38     
39     -- Default index for windows in frames: one of 'last', 'next' (for
40     -- after current), or 'next-act' (for after current and anything with
41     -- activity right after it).
42     --frame_default_index='next',
43     
44     -- Auto-unsqueeze transients/menus/queries.
45     --unsqueeze=true,
46     
47     -- Display notification tooltips for activity on hidden workspace.
48     --screen_notify=true,
49 }
50
51
52 -- Load default settings. The file cfg_defaults loads all the files
53 -- commented out below, except mod_dock. If you do not want to load
54 -- something, comment out this line, and uncomment the lines corresponding
55 -- the the modules or configuration files that you want, below.
56 -- The modules' configuration files correspond to the names of the 
57 -- modules with 'mod' replaced by 'cfg'.
58 dopath("cfg_defaults")
59
60 -- Load configuration of the Ion 'core'
61 --dopath("cfg_ioncore")
62
63 -- Load some kludges to make apps behave better.
64 --dopath("cfg_kludges")
65
66 -- Define some layouts. 
67 --dopath("cfg_layouts")
68
69 -- Load some modules. 
70 --dopath("mod_query")
71 --dopath("mod_menu")
72 --dopath("mod_tiling")
73 --dopath("mod_statusbar")
74 --dopath("mod_dock")
75 --dopath("mod_sp")
76
77
78 --
79 -- Common customisations
80 --
81
82 -- Uncommenting the following lines should get you plain-old-menus instead
83 -- of query-menus.
84
85 --defbindings("WScreen", {
86 --    kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
87 --})
88 --
89 --defbindings("WMPlex.toplevel", {
90 --    kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
91 --})
92