[xmonad] Not running my startupHook on restart

Adam Sjøgren asjo at koldfront.dk
Thu Dec 31 17:06:24 UTC 2015


Brandon writes:

> The more general way to do it is:

>     as <- io getArgs
>     when (null as) $ do
>       {- your startup code here -}

> which takes advantage of the fact that restarts pass --resume as a
> parameter, followed by the serialized xmonad state.

That worked great - thanks!


  Best regards,

    Adam

-- 
 "On the quiet side. Somewhat peculiar. A good                Adam Sjøgren
  companion, in a weird sort of way."                    asjo at koldfront.dk



More information about the xmonad mailing list