2 -- Ion main configuration file
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).
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.
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'.
25 -- Some basic settings
27 -- Maximum delay between clicks in milliseconds to be considered a
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,
37 --opaque_resize=false,
39 -- Movement commands warp the pointer to frames instead of just
40 -- changing focus. Enabled by default.
43 -- Switch frames to display newly mapped windows
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',
51 -- Auto-unsqueeze transients/menus/queries.
54 -- Display notification tooltips for activity on hidden workspace.
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")
67 -- Load configuration of the Ion 'core'. Most bindings are here.
68 --dopath("cfg_ioncore")
70 -- Load some kludges to make apps behave better.
71 --dopath("cfg_kludges")
73 -- Define some layouts.
74 --dopath("cfg_layouts")
76 -- Load some modules. Bindings and other configuration specific to modules
77 -- are in the files cfg_modulename.lua.
80 --dopath("mod_tiling")
81 --dopath("mod_statusbar")
87 -- Common customisations
90 -- Uncommenting the following lines should get you plain-old-menus instead
93 --defbindings("WScreen", {
94 -- kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
97 --defbindings("WMPlex.toplevel", {
98 -- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),