Xmonad/Branches/Hooks

From HaskellWiki
< Xmonad
Revision as of 08:40, 23 October 2007 by Nomeata (talk | contribs) (Hook branch description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Hooks system

Description =

Nomeata has proposed an alternative Hook system with the following aims:

  • Simplifying the configuration of extensions in Config.hs
  • Adding new hooks without changes to Config.hs or unrelated Extensions

The idea is that, from the users POV, every extension exports a function of type XMonadExtension, which are then combined to the Config.hs function xmonadExtensions :: [XMonadExtension].

Because this would require changes to the core, this is currently implemented in XMonadContrib, with the HooksProxy.hs extension providing the glue to the current Config.hs functions. The Hooks.hs module is what actually should go to the core.

The repository also contains adjustments of some extensions. If you want to see more, notify me.

Repositories