Difference between revisions of "Xmonad/Branches/Hooks"

From HaskellWiki
Jump to navigation Jump to search
(+cat)
m (To be deleted eventually...)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Hooks system ==
 
== Hooks system ==
   
  +
This is obsolete and unmaintained.
=== Description ====
 
  +
 
=== Description ===
 
[[User:Nomeata|Nomeata]] has proposed an alternative Hook system with the following aims:
 
[[User:Nomeata|Nomeata]] has proposed an alternative Hook system with the following aims:
   
Line 18: Line 20:
 
* http://darcs.nomeata.de/xmonad-hook-branch/ ([http://darcs.nomeata.de/cgi-bin/darcsweb.cgi?r=xmonad-hook-branch;a=summary DarcsWeb]): Only adjustments to Config.hs and Config.hs-boot
 
* http://darcs.nomeata.de/xmonad-hook-branch/ ([http://darcs.nomeata.de/cgi-bin/darcsweb.cgi?r=xmonad-hook-branch;a=summary DarcsWeb]): Only adjustments to Config.hs and Config.hs-boot
   
[[Category:XMonad]]
+
[[Category:XMonad configuration]]
  +
[[Category:Pages to be removed]]

Latest revision as of 21:36, 23 April 2021

Hooks system

This is obsolete and unmaintained.

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