
13 Jan
2013
13 Jan
'13
8:57 p.m.
Updates: Status: Fixed Owner: vogt.a...@gmail.com Labels: Component-Contrib Type-Defect Comment #2 on issue 523 by vogt.a...@gmail.com: Too small remembered pids hooks in XMonad.Actions.SpawnOn http://code.google.com/p/xmonad/issues/detail?id=523 I've pushed patch adding a slightly incorrectly named: manageSpawnWithGC :: ([(ProcessID, ManageHook)] -> X [(ProcessID, ManageHook)]) -> ManageHook Some options for the first argument are: f1 = return -- never delete anything old f2 = return . take 100 -- keep 100 f3 xs = do -- keep roughly the number of processes you have ps <- readProcess "ps" ["u"] "" return (take (length (lines ps)) xs)