Removed old stuff from system-inc.mk
[notion/jeffpc.git] / etc / cfg_kludges.lua
blob73cce888ce59e28f2719e07396fee1fe17127424
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},
38 -- Make an exception for Docker, which sets correct size hints.
39 defwinprop{
40 is_dockapp = true,
41 class = "Docker",
42 statusbar = "systray",
45 -- https://sourceforge.net/tracker/?func=detail&aid=3471910&group_id=314802&atid=1324528
46 defwinprop{
47 class = "Gimp",
48 acrobatic = true,
51 -- You might want to enable these if you really must use XMMS.
52 --[[
53 defwinprop{
54 class = "xmms",
55 instance = "XMMS_Playlist",
56 transient_mode = "off"
59 defwinprop{
60 class = "xmms",
61 instance = "XMMS_Player",
62 transient_mode = "off"
64 --]]
68 -- Define some additional title shortening rules to use when the full
69 -- title doesn't fit in the available space. The first-defined matching
70 -- rule that succeeds in making the title short enough is used.
71 ioncore.defshortening("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
72 ioncore.defshortening("(.*) - Mozilla", "$1$|$1$<...")
73 ioncore.defshortening("XMMS - (.*)", "$1$|...$>$1")
74 ioncore.defshortening("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
75 ioncore.defshortening("[^:]+: (.*)", "$1$|$1$<...")
76 ioncore.defshortening("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
77 ioncore.defshortening("(.*)", "$1$|$1$<...")