xmonad hooks to fix intellij issue