2 -- Options to get some programs work more nicely (or at all)
8 instance
= "documentShell",
15 instance
= "openDialog_popup",
19 -- Better would be to apply these settings automatically whenever a window
20 -- has type _NET_WM_WINDOW_TYPE_NOTIFICATION
22 class
= "Xfce4-notifyd",
29 -- Put all dockapps in the statusbar's systray, also adding the missing
30 -- size hints necessary for this to work.
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.
42 statusbar
= "systray",
45 -- https://sourceforge.net/tracker/?func=detail&aid=3471910&group_id=314802&atid=1324528
51 -- You might want to enable these if you really must use XMMS.
55 instance = "XMMS_Playlist",
56 transient_mode = "off"
61 instance = "XMMS_Player",
62 transient_mode = "off"
66 -- InteiilJ IDEA - I wonder whether we should do this for *all* sun-awt-X11-XWindowPeer windows
68 class
= "jetbrains-idea-ce",
69 instance
= "sun-awt-X11-XWindowPeer",
70 transient_mode
= "current",
73 class
= "jetbrains-idea-ce",
74 instance
= "sun-awt-X11-XDialogPeer",
75 transient_mode
= "current",
78 class
= "jetbrains-idea",
79 instance
= "sun-awt-X11-XWindowPeer",
80 transient_mode
= "current",
83 class
= "jetbrains-idea",
84 instance
= "sun-awt-X11-XDialogPeer",
85 transient_mode
= "current",
89 -- Define some additional title shortening rules to use when the full
90 -- title doesn't fit in the available space. The first-defined matching
91 -- rule that succeeds in making the title short enough is used.
92 ioncore
.defshortening("(.*) - Mozilla(<[0-9]+>)", "$1$2$|$1$<...$2")
93 ioncore
.defshortening("(.*) - Mozilla", "$1$|$1$<...")
94 ioncore
.defshortening("XMMS - (.*)", "$1$|...$>$1")
95 ioncore
.defshortening("[^:]+: (.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
96 ioncore
.defshortening("[^:]+: (.*)", "$1$|$1$<...")
97 ioncore
.defshortening("(.*)(<[0-9]+>)", "$1$2$|$1$<...$2")
98 ioncore
.defshortening("(.*)", "$1$|$1$<...")