X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=etc%2Fcfg_ion.lua;h=726d6546768c97e447bdc129d6c4b13b2d09290a;hb=7c392448b0d2efcc6bb959063dcaa8b2c5ea0964;hp=339a026952c9a527e48e4792a9508c171f02a3ce;hpb=803afbc1cd633f6c025bcd9537e9b7e9aedadd0d;p=ion3.git diff --git a/etc/cfg_ion.lua b/etc/cfg_ion.lua index 339a026..726d654 100644 --- a/etc/cfg_ion.lua +++ b/etc/cfg_ion.lua @@ -32,19 +32,41 @@ ioncore.set{ -- Movement commands warp the pointer to frames instead of just -- changing focus. Enabled by default. --warp=true, + + -- Switch frames to display newly mapped windows + --switchto=true, + + -- Default index for windows in frames: one of 'last', 'next' (for + -- after current), or 'next-act' (for after current and anything with + -- activity right after it). + --frame_default_index='next', + + -- Auto-unsqueeze transients/menus/queries. + --unsqueeze=true, + + -- Display notification tooltips for activity on hidden workspace. + --screen_notify=true, } --- cfg_ioncore contains configuration of the Ion 'core' -dopath("cfg_ioncore") + +-- Load default settings. The file cfg_defaults loads all the files +-- commented out below, except mod_dock. If you do not want to load +-- something, comment out this line, and uncomment the lines corresponding +-- the the modules or configuration files that you want, below. +-- The modules' configuration files correspond to the names of the +-- modules with 'mod' replaced by 'cfg'. +dopath("cfg_defaults") + +-- Load configuration of the Ion 'core' +--dopath("cfg_ioncore") -- Load some kludges to make apps behave better. -dopath("cfg_kludges") +--dopath("cfg_kludges") + +-- Define some layouts. +--dopath("cfg_layouts") --- Load some modules. Disable the loading of cfg_modules by commenting out --- the corresponding line with -- if you don't want the whole default set --- (everything except mod_dock). Then uncomment the lines for the modules --- you want. -dopath("cfg_modules") +-- Load some modules. --dopath("mod_query") --dopath("mod_menu") --dopath("mod_tiling") @@ -52,9 +74,19 @@ dopath("cfg_modules") --dopath("mod_dock") --dopath("mod_sp") --- Define some default layouts. This is also done by cfg_modules --- if loaded. ---dopath("cfg_layouts", true) --- Deprecated. -dopath("cfg_user", true) +-- +-- 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')"), +--}) +