Use new UNUSED macro in dock.c
[notion.git] / etc / cfg_notion.lua
bloba599594f797e7029d7f009a8e317766eb9e0edc0
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. 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=""
22 -- Terminal emulator
23 --XTERM="xterm"
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,
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,
36 -- Opaque resize?
37 --opaque_resize=false,
39 -- Movement commands warp the pointer to frames instead of just
40 -- changing focus. Enabled by default.
41 --warp=true,
43 -- Switch frames to display newly mapped windows
44 --switchto=true,
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.
52 --unsqueeze=true,
54 -- Display notification tooltips for activity on hidden workspace.
55 --screen_notify=true,
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",
69 -- Time (in ms) that a window has to be focussed in order to be added to the
70 -- focus list. Set this to <=0 (or comment it out) to disable the logic, and
71 -- update the focus list immediately
72 --focuslist_insert_delay=1000,
74 -- If enabled, activity notifiers are displayed on ALL the screens, not just
75 -- the screen that contains the window producing the notification. This is
76 -- only relevant on multi-head setups. By default this is disabled
77 --activity_notification_on_all_screens=false,
79 -- If enabled, a workspace indicator comes up at the bottom-left of the
80 -- screen when a new workspace is selected. This indicator stays active for
81 -- only as long as indicated by this variable (in ms). Timeout values <=0
82 -- disable the indicator altogether. This is disabled by default
83 --workspace_indicator_timeout=0,
87 -- Load default settings. The file cfg_defaults loads all the files
88 -- commented out below, except mod_dock. If you do not want to load
89 -- something, comment out this line, and uncomment the lines corresponding
90 -- the the modules or configuration files that you want, below.
91 -- The modules' configuration files correspond to the names of the
92 -- modules with 'mod' replaced by 'cfg'.
93 dopath("cfg_defaults")
95 -- Load configuration of the Notion 'core'. Most bindings are here.
96 --dopath("cfg_notioncore")
98 -- Load some kludges to make apps behave better.
99 --dopath("cfg_kludges")
101 -- Define some layouts.
102 --dopath("cfg_layouts")
104 -- Load some modules. Bindings and other configuration specific to modules
105 -- are in the files cfg_modulename.lua.
106 --dopath("mod_query")
107 --dopath("mod_menu")
108 --dopath("mod_tiling")
109 --dopath("mod_statusbar")
110 --dopath("mod_dock")
111 --dopath("mod_sp")
112 --dopath("mod_notionflux")
113 --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 --})