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,
60 -- Mouse focus mode; set to "sloppy" if you want the focus to follow the
61 -- mouse, and to "disabled" otherwise.
62 --mousefocus="sloppy",
64 -- Controls Notion's reaction to stacking requests sent by clients. Set to
65 -- "ignore" to ignore these requests, and to "activate" to set the activity
66 -- flag on a window that requests to be stacked "Above".
67 --window_stacking_request="ignore",
71 -- Load default settings. The file cfg_defaults loads all the files
72 -- commented out below, except mod_dock. If you do not want to load
73 -- something, comment out this line, and uncomment the lines corresponding
74 -- the the modules or configuration files that you want, below.
75 -- The modules' configuration files correspond to the names of the
76 -- modules with 'mod' replaced by 'cfg'.
77 dopath("cfg_defaults")
79 -- Load configuration of the Notion 'core'. Most bindings are here.
80 --dopath("cfg_notioncore")
82 -- Load some kludges to make apps behave better.
83 --dopath("cfg_kludges")
85 -- Define some layouts.
86 --dopath("cfg_layouts")
88 -- Load some modules. Bindings and other configuration specific to modules
89 -- are in the files cfg_modulename.lua.
92 --dopath("mod_tiling")
93 --dopath("mod_statusbar")
96 --dopath("mod_notionflux")
97 --dopath("mod_xrandr")
101 -- Common customisations
104 -- Uncommenting the following lines should get you plain-old-menus instead
107 --defbindings("WScreen", {
108 -- kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
111 --defbindings("WMPlex.toplevel", {
112 -- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),