pass on to the right sub-makefile target
[notion/jeffpc.git] / etc / cfg_kludges.lua
blobd07631ec613370ea5c990712bf2318c1076fcf31
1 --
2 -- Options to get some programs work more nicely (or at all)
3 --
6 defwinprop{
7 class = "AcroRead",
8 instance = "documentShell",
9 acrobatic = true
13 defwinprop{
14 class = "Xpdf",
15 instance = "openDialog_popup",
16 ignore_cfgrq = true,
19 -- Better would be to apply these settings automatically whenever a window
20 -- has type _NET_WM_WINDOW_TYPE_NOTIFICATION
21 defwinprop{
22 class = "Xfce4-notifyd",
24 float = true,
25 userpos = true,
26 switchto = false,
29 -- Put all dockapps in the statusbar's systray, also adding the missing
30 -- size hints necessary for this to work.
31 defwinprop{
32 is_dockapp = true,
33 statusbar = "systray",
34 max_size = { w = 64, h = 64},
35 min_size = { w = 64, h = 64},
39 -- You might want to enable these if you really must use XMMS.
40 --[[
41 defwinprop{
42 class = "xmms",
43 instance = "XMMS_Playlist",
44 transient_mode = "off"
47 defwinprop{
48 class = "xmms",
49 instance = "XMMS_Player",
50 transient_mode = "off"
52 --]]
56 -- Define some additional title shortening rules to use when the full
57 -- title doesn't fit in the available space. The first-defined matching
58 -- rule that succeeds in making the title short enough is used.
59 ioncore.defshortening("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
60 ioncore.defshortening("(.*) - Mozilla", "$1$|$1$<...")
61 ioncore.defshortening("XMMS - (.*)", "$1$|...$>$1")
62 ioncore.defshortening("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
63 ioncore.defshortening("[^:]+: (.*)", "$1$|$1$<...")
64 ioncore.defshortening("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
65 ioncore.defshortening("(.*)", "$1$|$1$<...")