]> git.decadent.org.uk Git - ion3.git/blob - etc/cfg_ion.lua
Update cfg_kludge_flash for Flash 10
[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 -- When any binding and other customisations that you want are minor, it is 
9 -- recommended that you include them in a copy of this file in ~/.ion3/.
10 -- Simply create or copy the relevant settings at the end of this file (from
11 -- the other files), recalling that a key can be unbound by passing 'nil' 
12 -- (without the quotes) as the callback. For more information, please see 
13 -- the Ion configuration manual available from the Ion Web page.
14 --
15
16 -- Set default modifiers. Alt should usually be mapped to Mod1 on
17 -- XFree86-based systems. The flying window keys are probably Mod3
18 -- or Mod4; see the output of 'xmodmap'.
19 --META="Mod1+"
20 --ALTMETA=""
21
22 -- Terminal emulator
23 --XTERM="xterm"
24
25 -- Some basic settings
26 ioncore.set{
27     -- Maximum delay between clicks in milliseconds to be considered a
28     -- double click.
29     --dblclick_delay=250,
30
31     -- For keyboard resize, time (in milliseconds) to wait after latest
32     -- key press before automatically leaving resize mode (and doing
33     -- the resize in case of non-opaque move).
34     --kbresize_delay=1500,
35
36     -- Opaque resize?
37     --opaque_resize=false,
38
39     -- Movement commands warp the pointer to frames instead of just
40     -- changing focus. Enabled by default.
41     --warp=true,
42     
43     -- Switch frames to display newly mapped windows
44     --switchto=true,
45     
46     -- Default index for windows in frames: one of 'last', 'next' (for
47     -- after current), or 'next-act' (for after current and anything with
48     -- activity right after it).
49     --frame_default_index='next',
50     
51     -- Auto-unsqueeze transients/menus/queries.
52     --unsqueeze=true,
53     
54     -- Display notification tooltips for activity on hidden workspace.
55     --screen_notify=true,
56 }
57
58
59 -- Load default settings. The file cfg_defaults loads all the files
60 -- commented out below, except mod_dock. If you do not want to load
61 -- something, comment out this line, and uncomment the lines corresponding
62 -- the the modules or configuration files that you want, below.
63 -- The modules' configuration files correspond to the names of the 
64 -- modules with 'mod' replaced by 'cfg'.
65 dopath("cfg_defaults")
66
67 -- Load configuration of the Ion 'core'. Most bindings are here.
68 --dopath("cfg_ioncore")
69
70 -- Load some kludges to make apps behave better.
71 --dopath("cfg_kludges")
72
73 -- Define some layouts. 
74 --dopath("cfg_layouts")
75
76 -- Load some modules. Bindings and other configuration specific to modules
77 -- are in the files cfg_modulename.lua.
78 --dopath("mod_query")
79 --dopath("mod_menu")
80 --dopath("mod_tiling")
81 --dopath("mod_statusbar")
82 --dopath("mod_dock")
83 --dopath("mod_sp")
84
85
86 --
87 -- Common customisations
88 --
89
90 -- Uncommenting the following lines should get you plain-old-menus instead
91 -- of query-menus.
92
93 --defbindings("WScreen", {
94 --    kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
95 --})
96 --
97 --defbindings("WMPlex.toplevel", {
98 --    kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
99 --})
100