aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2009-09-01 06:00:46 +0200
committerAdam Vogt <vogt.adam@gmail.com>2009-09-01 06:00:46 +0200
commit88b3b9fd3719260c4143de66aa83fbe31a7dd066 (patch)
tree2e3784db3f6bbb3a891fa7c655cae236814e1d8f /man
parent74970817e674f57ee11cc29f68215489032a281d (diff)
downloadxmonad-88b3b9fd3719260c4143de66aa83fbe31a7dd066.tar.gz
xmonad-88b3b9fd3719260c4143de66aa83fbe31a7dd066.tar.xz
xmonad-88b3b9fd3719260c4143de66aa83fbe31a7dd066.zip
Describe modular configuration in the manual page
Ignore-this: 4f4832d44d86773d1f81cb86026811b1 darcs-hash:20090901040046-1499c-c0c8cbb396ac45754aff8b03823e0257bdb475d5.gz
Diffstat (limited to 'man')
-rw-r--r--man/xmonad.1.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/xmonad.1.in b/man/xmonad.1.in
index 33cf975..bc324db 100644
--- a/man/xmonad.1.in
+++ b/man/xmonad.1.in
@@ -40,5 +40,13 @@ to your \fI~/.xinitrc\fR file
\fBxmonad\fR is customized in ~/.xmonad/xmonad.hs, and then restarting with mod-q.
.PP
You can find many extensions to the core feature set in the xmonad-contrib package, available through your package manager or from http://xmonad.org/.
+.SS "Modular Configuration"
+As of \fBxmonad-0.9\fR, any additional Haskell modules may be placed in \fI~/.xmonad/lib/\fR are available in GHC's searchpath. Hierarchical modules are supported: for example, the file \fI~/.xmonad/lib/XMonad/Stack/MyAdditions.hs\fR could contain:
+.IP
+.nf
+module XMonad.Stack.MyAdditions (function1) where
+function1 = error "function1: Not implemented yet!"
+.PP
+Your xmonad.hs may then \fBimport XMonad.Stack.MyAdditions\fR as if that module was contained within \fBxmonad\fR or \fBxmonad-contrib\fR.
.SH BUGS
Probably. If you find any, please report them: http://code.google.com/p/xmonad/issues/list