1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161
|
--
-- Notion main configuration file
--
-- This file only includes some settings that are rather frequently altered.
-- The rest of the settings are in cfg_notioncore.lua and individual modules'
-- configuration files (cfg_modulename.lua).
--
-- When any binding and other customisations that you want are minor, it is
-- recommended that you include them in a copy of this file in ~/.notion/.
--
-- Set default modifiers. The default is the 'windows' key; it is usually mapped
-- to Mod4 on Xorg-based systems. Any other modifier, such as Alt, can be used
-- instead. The 'xmodmap' tool can be used to get/set which key codes correspond
-- to which modifiers, and the 'xev' tool can be used to see what codes are
-- generated by particular keys.
-- These may be defined in /etc/default/notion, loaded as cfg_debian.
dopath("cfg_debian")
--META="Mod4+"
--ALTMETA="Mod4+Shift+"
-- Terminal emulator.
--XTERM="x-terminal-emulator"
-- Edit file command, mod_query.query_editfile
--EDIT_COMMAND="run-mailcap --action=edit"
-- View file command, mod_query.query_viewfile
--VIEW_COMMAND="xdg-open"
-- Some basic settings.
ioncore.set{
-- Maximum delay between clicks in milliseconds to be considered a
-- double click.
--dblclick_delay=250,
-- For keyboard resize, time (in milliseconds) to wait after latest
-- key press before automatically leaving resize mode (and doing
-- the resize in case of non-opaque move).
--kbresize_delay=1500,
-- Opaque resize?
--opaque_resize=false,
-- Movement commands warp the pointer to frames instead of just
-- changing focus. Enabled by default.
--warp=true,
-- Margin to use when warping the cursor (in pixels),
-- to inset from the edge of the frame.
--warp_margin=5,
-- Placement to use when positioning the cursor in the frame
-- (as a factor from 0-1).
-- Where an x,y value:
-- * (0.0, 0.0) for top-left.
-- * (1.0, 1.0) for bottom-right.
-- * (0.5, 0.5) for the center of the frame.
--warp_factor_x=0.0,
--warp_factor_y=0.0,
-- Should a managing MPlex switch to a newly mapped client window?
--switchto=true,
-- Should notification tooltips be displayed for hidden workspaces with
-- activity?
--screen_notify=true,
-- Specifies where to add new regions on the mutually exclusive list of a
-- frame. One of ''last'', ''next'' (for after current), ''next-act''
-- (for after current and anything with activity right after it).
--frame_default_index="next",
-- Put transients in nested frames.
--framed_transients=true,
-- Float window placement method:
-- one of 'udlr' (up down left right), 'lrud' (left right up down), 'pointer' or 'random'.
--float_placement_method="udlr",
-- Auto-unsqueeze transients/menus/queries/etc.
--unsqueeze=true,
-- Float non-transient dialog type windows.
-- Can be useful for applications that try to place their own dialog windows.
--window_dialog_float=true,
-- Autoraise regions in groups on goto. \\
--autoraise=true,
-- Automatically save layout on restart and exit.
--autosave_layout=true,
-- Mouse focus mode; set to "sloppy" if you want the focus to follow the
-- mouse, and to "disabled" otherwise.
--mousefocus="sloppy",
-- Controls Notion's reaction to stacking requests sent by clients. Set to
-- "ignore" to ignore these requests, and to "activate" to set the activity
-- flag on a window that requests to be stacked "Above".
--window_stacking_request="ignore",
-- Time (in ms) that a window has to be focussed in order to be added to the
-- focus list. Set this to <=0 (or comment it out) to disable the logic, and
-- update the focus list immediately.
--focuslist_insert_delay=1000,
-- If enabled, activity notifiers are displayed on ALL the screens, not just
-- the screen that contains the window producing the notification. This is
-- only relevant on multi-head setups. By default this is disabled.
--activity_notification_on_all_screens=false,
-- If enabled, a workspace indicator comes up at the bottom-left of the
-- screen when a new workspace is selected. This indicator stays active for
-- only as long as indicated by this variable (in ms). Timeout values <=0
-- disable the indicator altogether. This is disabled by default.
--workspace_indicator_timeout=0,
}
-- Load default settings. The file cfg_defaults loads all the files
-- commented out below, except mod_statusbar. If you do not want to load
-- something, comment out this line, and uncomment the lines corresponding
-- to the modules or configuration files that you want, below.
-- Note that mod_dock and mod_statusbar are mutually exclusive.
dopath("cfg_defaults")
-- Load some kludges to make apps behave better.
--dopath("cfg_kludges")
-- Define some layouts.
--dopath("cfg_layouts")
-- Load some modules.
--dopath("mod_query")
--dopath("mod_menu")
--dopath("mod_tiling")
--dopath("mod_statusbar")
--dopath("mod_dock")
--dopath("mod_sp")
--dopath("mod_notionflux")
--dopath("mod_xrandr")
--dopath("net_client_list")
--
-- loads cfg_bindings
--dopath("cfg_notioncore")
--
-- Common customisations
--
-- Uncommenting the following lines should get you plain-old-menus instead
-- of query-menus.
--defbindings("WScreen", {
-- kpress(ALTMETA.."F12", "mod_menu.menu(_, _sub, 'mainmenu', {big=true})"),
--})
--
--defbindings("WMPlex.toplevel", {
-- kpress(META.."M", "mod_menu.menu(_, _sub, 'ctxmenu')"),
--})
|