2 -- Options to get some programs work more nicely (or at all)
7 instance
= "documentShell",
13 instance
= "openDialog_popup",
17 -- Better would be to apply these settings automatically whenever a window
18 -- has type _NET_WM_WINDOW_TYPE_NOTIFICATION.
20 class
= "Xfce4-notifyd",
26 -- Put all dockapps in the statusbar's systray, also adding the missing size
27 -- hints necessary for this to work.
30 statusbar
= "systray",
31 max_size
= { w
= 64, h
= 64},
32 min_size
= { w
= 64, h
= 64},
35 -- Make an exception for Docker, which sets correct size hints.
39 statusbar
= "systray",
42 -- https://sourceforge.net/tracker/?func=detail&aid=3471910&group_id=314802&atid=1324528
48 -- You might want to enable these if you really must use XMMS.
52 instance = "XMMS_Playlist",
53 transient_mode = "off",
58 instance = "XMMS_Player",
59 transient_mode = "off",
63 -- InteiilJ IDEA - I wonder whether we should do this for *all*
64 -- sun-awt-X11-XWindowPeer windows.
66 class
= "jetbrains-idea-ce",
67 instance
= "sun-awt-X11-XWindowPeer",
68 transient_mode
= "current",
71 class
= "jetbrains-idea-ce",
72 instance
= "sun-awt-X11-XDialogPeer",
73 transient_mode
= "current",
76 class
= "jetbrains-idea",
77 instance
= "sun-awt-X11-XWindowPeer",
78 transient_mode
= "current",
81 class
= "jetbrains-idea",
82 instance
= "sun-awt-X11-XDialogPeer",
83 transient_mode
= "current",
86 -- Define some additional title shortening rules to use when the full title
87 -- doesn't fit in the available space. The first-defined matching rule that
88 -- succeeds in making the title short enough is used.
89 ioncore
.defshortening("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
90 ioncore
.defshortening("(.*) - Mozilla", "$1$|$1$<...")
91 ioncore
.defshortening("XMMS - (.*)", "$1$|...$>$1")
92 ioncore
.defshortening("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
93 ioncore
.defshortening("[^:]+: (.*)", "$1$|$1$<...")
94 ioncore
.defshortening("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
95 ioncore
.defshortening("(.*)", "$1$|$1$<...")