
14 Jan
2012
14 Jan
'12
6 p.m.
Brandon Allbery wrote:
, startupHook = do args <- getArgs guard (null args) $ spawn "xmobar"
Can you point me to some documentation or examples for this? I have found hundreds which follow the pattern main = do xmobarPipe <- spawnPipe "xmobar" xmonad myConfig { ... , logHook = ... xmobarPipe ... } but I don't recall seeing your suggestion before, and yet your suggestion smells much better.