2 -- PWM main configuration file
5 -- Set default modifier. Alt should usually be mapped to Mod1 on
6 -- XFree86-based systems. The flying window keys are probably Mod3
7 -- or Mod4; see the output of 'xmodmap'.
10 -- Set default workspace type.
11 default_ws_type="WFloatWS"
13 -- Maximum delay between clicks in milliseconds to be considered a
15 --set_dblclick_delay(250)
17 -- For keyboard resize, time (in milliseconds) to wait after latest
18 -- key press before automatically leaving resize mode (and doing
19 -- the resize in case of non-opaque move).
20 --set_resize_delay(1500)
23 enable_opaque_resize(false)
25 -- Movement commands warp the pointer to frames instead of just
26 -- changing focus. Enabled by default.
29 -- Kludges to make apps behave better.
32 -- Make some bindings.
33 include("pwm-bindings")
35 -- Define some menus (menu module required to actually use them)
38 -- How to shorten window titles when the full title doesn't fit in
39 -- the available space? The first-defined matching rule that succeeds
40 -- in making the title short enough is used.
41 add_shortenrule("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
42 add_shortenrule("(.*) - Mozilla", "$1$|$1$<...")
43 add_shortenrule("XMMS - (.*)", "$1$|...$>$1")
44 add_shortenrule("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
45 add_shortenrule("[^:]+: (.*)", "$1$|$1$<...")
46 add_shortenrule("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
47 add_shortenrule("(.*)", "$1$|$1$<...")
49 -- List of directories to look for manuals in the F1 man page query.
58 load_module("floatws")
60 --load_module("query")