[xmonad] Not running my startupHook on restart

Adam Sjøgren asjo at koldfront.dk
Fri Jan 8 07:26:53 UTC 2016


Jakob writes:

> On 07.01.2016 12:44, Brandon Allbery wrote:

>> Actually... I updated to 0.12 and at the same time switched from ghc
>> 7.6.3 to 7.10.3, and found the same thing. I had to move the "args
>> <- 
>> io getArgs" directly into "main" before invocation of the "xmonad"
>> function.

>> I haven't yet looked at the code but this seems surprising. I also
>> suspect it's not related to a change in xmonad, since the only core
>> changes (and only a core change could have any effect here) were
>> documentation.

> That works! Thank you. Yeah it sounds like a GHC bug for me. I also
> have xmonad 0.12 and GHC 7.10.3.

I run xmonad 0.11.1 and ghc 7.10.3 (both on Debian sid), and it works
for me (to have "as <- io getArgs" in my startupHook).


  Just a data point,

    Adam

-- 
 "Boy, I love summer vacation.                                Adam Sjøgren
  I can feel my brain beginning to atrophy already."     asjo at koldfront.dk



More information about the xmonad mailing list