
Brandon writes:
I hate their example because it is not clear that it has all the layouts in defaultConfig twice and only the second list has the stop behavior. You need to mod-space 3 times to get to a stoppable layout.
Oh. No, that was very unclear to me. I was wondering about the duplication, but I glossed it over as yet another subtle point I did not comprehend. I guess my point is that expanding the examples - in general - would help people, like me, get further into these things.
If you want stoppable to always be active on workspace 3:
layoutHook = avoidStruts $ modWorkspace "3" stoppable $ layoutHook defaultConfig
Thanks! I am trying that now, and it doesn't seem to work for me - the Firefox on workspace 3 is still using 5-10% CPU, regardless of how long I have been on another workspace.
(I find it interesting that you were able to figure out that modWorkspace applies only to layout modifiers as opposed to layouts, but you couldn't recognize that (|||) only works with layouts, not layout modifiers.)
(Well, I just kept taking stuff from the examples and combining them until the compiler stopped complaining. I don't have much experience with Haskell, but I do with debugging/pattern matching/guessing.) Best regards, Adam -- "Come on ask me anything Adam Sjøgren I'm the king of not very much" asjo@koldfront.dk