I have assigned a specific tag and screen to windows with the class "jetbrains-idea":
-- {{{ Rules
awful.rules.rules = {
[...]
{ rule_any = { class = { "Digikam", "Gimp", "Hugin", "Inkscape", "Keepassx", "libreoffice-startcenter", "Openscad", "Simple-scan", "Sqliteman", "jetbrains-idea" } },
properties = { tag = tags[math.min(2, screen.count())][3] } },
}
This only works for the main window of IDEA: the floating "welcome window" which appears on first run just appears in whichever tag and screen was focused when it was run. Is this fixable?
The window definitely has the same class as the main application - the following command outputs the same for either window:
$ xprop | grep WM_CLASS
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "jetbrains-idea"