2 -- Notion main configuration file
4 -- This file only includes some settings that are rather frequently altered.
5 -- The rest of the settings are in cfg_notioncore.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 ~/.notion/.
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 Notion configuration manual available from the Notion 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.
57 -- Automatically save layout on restart and exit.
58 --autosave_layout=true,
62 -- Load default settings. The file cfg_defaults loads all the files
63 -- commented out below, except mod_dock. If you do not want to load
64 -- something, comment out this line, and uncomment the lines corresponding
65 -- the the modules or configuration files that you want, below.
66 -- The modules' configuration files correspond to the names of the
67 -- modules with 'mod' replaced by 'cfg'.
68 dopath("cfg_defaults")
70 -- Load configuration of the Notion 'core'. Most bindings are here.
71 --dopath("cfg_notioncore")
73 -- Load some kludges to make apps behave better.
74 --dopath("cfg_kludges")
76 -- Define some layouts.
77 --dopath("cfg_layouts")
79 -- Load some modules. Bindings and other configuration specific to modules
80 -- are in the files cfg_modulename.lua.
83 --dopath("mod_tiling")
84 --dopath("mod_statusbar")
87 --dopath("mod_notionflux")
91 -- Common customisations
94 -- Uncommenting the following lines should get you plain-old-menus instead
97 --defbindings("WScreen", {
98 -- kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
101 --defbindings("WMPlex.toplevel", {
102 -- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),