[xmonad] darcs patch: Add Stoppable layout for power saving

Anton Vorontsov anton at enomsg.org
Thu Aug 28 20:12:31 UTC 2014


On Thu, Aug 28, 2014 at 11:00:28PM +0400, Paul Fertser wrote:
> Handy for the shit-sites that make firefox spin violently even when
> it's not visible!

Exactly. :) Extends laptop on-battery time drastically.

> On Thu, Aug 28, 2014 at 06:07:24PM +0000, Anton Vorontsov wrote:
> > +-- > main = xmonad def
> > +-- >    { layoutHook = layoutHook def ||| stoppable (layoutHook def) }
> > +--
> > +-- For more detailed instructions on editing the logHook see:
> > +--
> > +-- "XMonad.Doc.Extending#The_log_hook_and_external_status_bars"
> 
> Why is that you're talking about modifying the logHook when tweaking
> layoutHook, is this a typo?

I started prototyping with logHook, but then realized I'd better switch to
layout, and then didn't change the boiler plate.

Thanks for catching!

Anton


More information about the xmonad mailing list