I understand, that I need to add something like:
composeOne [ isFullscreen -?> doFullFloat ]
to my ManageHook. At least according to this page.
But I'm not really sure where to add it in my xmonad config. My Haskell knowledge is relatively minor and because I'm using xmonad with KDE the config file does not have a very standard look.
My xmonad.hs looks like this:
import XMonad
import XMonad.Config.Kde
import qualified XMonad.StackSet as W -- to shift and float windows
import XMonad.Hooks.ManageHelpers
main = xmonad $ kdeConfig
{ modMask = mod4Mask -- use the Windows button as mod
, manageHook = manageHook kdeConfig <+> myManageHook
}
where
myManageHook = composeAll . concat $
[ [ className =? c --> doFloat | c <- myFloats]
, [ title =? t --> doFloat | t <- myOtherFloats]
, [ className =? c --> doF (W.shift "3") | c <- webApps]
, [ className =? c --> doF (W.shift "4") | c <- ircApps]
]
myFloats = ["MPlayer", "Gimp", "Skype", "Plasma-desktop", "VirtualBox"]
myOtherFloats = ["alsamixer"]
webApps = ["Firefox-bin", "Opera"] -- open on desktop 3
ircApps = ["Ksirc"] -- open on desktop 4
Where ever I try to put it, I just get cryptic error messages, of which Haskell is famous for.