-- -- Ion main configuration file -- -- Default modifier. Mapped to Mod1, which on my system is attached to the Alt -- key. DEFAULT_MOD = "Mod1+" -- How much keyboard inactivity to wait for before jumping out of resize mode, -- in milliseconds. The default is 1.5 seconds, which I found to be far too -- short. set_resize_delay(5000) -- Opaque resize? enable_opaque_resize(false) -- I hate things that move the mouse pointer on their own. No warp to frame. enable_warp(false) -- Kludges to make apps behave better. include("kludges") -- Make some bindings. include("ion-bindings") foo = "ion-bindings-" .. os.getenv("HOST") include(foo) -- Define some menus (menu module required to actually use them) include("ion-menus") -- How to shorten window titles when the full title doesn't fit in -- the available space? The first-defined matching rule that succeeds -- in making the title short enough is used. -- These are the default settings. add_shortenrule("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2") add_shortenrule("(.*) - Mozilla", "$1$|$1$<...") add_shortenrule("XMMS - (.*)", "$1$|...$>$1") add_shortenrule("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2") add_shortenrule("[^:]+: (.*)", "$1$|$1$<...") add_shortenrule("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2") add_shortenrule("(.*)", "$1$|$1$<...") -- List of directories to look for manuals in the F1 man page query. query_man_path={ "/usr/man", "/usr/share/man", "/usr/X11R6/man", "/usr/local/man" } -- Modules. load_module("query") load_module("menu") load_module("ionws") load_module("floatws") -- Dock. Bah. --load_module("dock")