Consistency fixes
[notion.git] / etc / cfg_notion.lua
blob22d931af1f04e276adec06baa1b89203f76b78a0
1 --
2 -- Notion 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_notioncore.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 ~/.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. The default is the 'windows' key; it is usually mapped
17 -- to Mod4 on Xorg-based systems. Any other modifier, such as Alt, can be used
18 -- instead. The 'xmodmap' tool can be used to get/set which key codes correspond
19 -- to which modifiers, and the 'xev' tool can be used to see what codes are
20 -- generated by particular keys.
21 --META="Mod4+"
22 --ALTMETA=""
24 -- Terminal emulator.
25 --XTERM="xterm"
27 -- Some basic settings.
28 ioncore.set{
29 -- Maximum delay between clicks in milliseconds to be considered a
30 -- double click.
31 --dblclick_delay=250,
33 -- For keyboard resize, time (in milliseconds) to wait after latest
34 -- key press before automatically leaving resize mode (and doing
35 -- the resize in case of non-opaque move).
36 --kbresize_delay=1500,
38 -- Opaque resize?
39 --opaque_resize=false,
41 -- Movement commands warp the pointer to frames instead of just
42 -- changing focus. Enabled by default.
43 --warp=true,
45 -- Switch frames to display newly mapped windows.
46 --switchto=true,
48 -- Default index for windows in frames: one of 'last', 'next' (for
49 -- after current), or 'next-act' (for after current and anything with
50 -- activity right after it).
51 --frame_default_index='next',
53 -- Auto-unsqueeze transients/menus/queries.
54 --unsqueeze=true,
56 -- Display notification tooltips for activity on hidden workspace.
57 --screen_notify=true,
59 -- Automatically save layout on restart and exit.
60 --autosave_layout=true,
62 -- Mouse focus mode; set to "sloppy" if you want the focus to follow the
63 -- mouse, and to "disabled" otherwise.
64 --mousefocus="sloppy",
66 -- Controls Notion's reaction to stacking requests sent by clients. Set to
67 -- "ignore" to ignore these requests, and to "activate" to set the activity
68 -- flag on a window that requests to be stacked "Above".
69 --window_stacking_request="ignore",
71 -- Time (in ms) that a window has to be focussed in order to be added to the
72 -- focus list. Set this to <=0 (or comment it out) to disable the logic, and
73 -- update the focus list immediately.
74 --focuslist_insert_delay=1000,
76 -- If enabled, activity notifiers are displayed on ALL the screens, not just
77 -- the screen that contains the window producing the notification. This is
78 -- only relevant on multi-head setups. By default this is disabled.
79 --activity_notification_on_all_screens=false,
81 -- If enabled, a workspace indicator comes up at the bottom-left of the
82 -- screen when a new workspace is selected. This indicator stays active for
83 -- only as long as indicated by this variable (in ms). Timeout values <=0
84 -- disable the indicator altogether. This is disabled by default.
85 --workspace_indicator_timeout=0,
88 -- Load default settings. The file cfg_defaults loads all the files
89 -- commented out below, except mod_dock. If you do not want to load
90 -- something, comment out this line, and uncomment the lines corresponding
91 -- the modules or configuration files that you want, below.
92 -- The modules' configuration files correspond to the names of the
93 -- modules with 'mod' replaced by 'cfg'.
94 dopath("cfg_defaults")
96 -- Load configuration of the Notion 'core'. Most bindings are here.
97 --dopath("cfg_notioncore")
99 -- Load some kludges to make apps behave better.
100 --dopath("cfg_kludges")
102 -- Define some layouts.
103 --dopath("cfg_layouts")
105 -- Load some modules. Bindings and other configuration specific to modules
106 -- are in the files cfg_modulename.lua.
107 --dopath("mod_query")
108 --dopath("mod_menu")
109 --dopath("mod_tiling")
110 --dopath("mod_statusbar")
111 --dopath("mod_dock")
112 --dopath("mod_sp")
113 --dopath("mod_notionflux")
114 --dopath("mod_xrandr")
117 -- Common customisations
120 -- Uncommenting the following lines should get you plain-old-menus instead
121 -- of query-menus.
123 --defbindings("WScreen", {
124 -- kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
125 --})
127 --defbindings("WMPlex.toplevel", {
128 -- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
129 --})