[ADD] conf for archlinux, <init>
[arrow.git] / archlinux_conf / etc / ion3 / cfg_kludges.lua
blobd5b02384161624945bb68c9784cbef02e8c2591b
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 defwinprop{
20 class = "Dialog",
21 instance = "openDialog_popup",
22 ignore_cfgrq = true,
25 defwinprop{
26 class = "Toplevel",
27 instance = "openDialog_popup",
28 ignore_cfgrq = true,
32 -- Put all dockapps in the statusbar's systray, also adding the missing
33 -- size hints necessary for this to work.
34 defwinprop{
35 is_dockapp = true,
36 statusbar = "systray",
37 max_size = { w = 64, h = 64},
38 min_size = { w = 64, h = 64},
42 -- You might want to enable these if you really must use XMMS.
43 --[[
44 defwinprop{
45 class = "xmms",
46 instance = "XMMS_Playlist",
47 transient_mode = "off"
50 defwinprop{
51 class = "xmms",
52 instance = "XMMS_Player",
53 transient_mode = "off"
55 --]]
59 -- Define some additional title shortening rules to use when the full
60 -- title doesn't fit in the available space. The first-defined matching
61 -- rule that succeeds in making the title short enough is used.
62 ioncore.defshortening("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
63 ioncore.defshortening("(.*) - Mozilla", "$1$|$1$<...")
64 ioncore.defshortening("XMMS - (.*)", "$1$|...$>$1")
65 ioncore.defshortening("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
66 ioncore.defshortening("[^:]+: (.*)", "$1$|$1$<...")
67 ioncore.defshortening("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
68 ioncore.defshortening("(.*)", "$1$|$1$<...")