mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-17 12:53:48 -07:00
Describe modular configuration in the manual page
This commit is contained 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.
|
\fBxmonad\fR is customized in ~/.xmonad/xmonad.hs, and then restarting with mod-q.
|
||||||
.PP
|
.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/.
|
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
|
.SH BUGS
|
||||||
Probably. If you find any, please report them: http://code.google.com/p/xmonad/issues/list
|
Probably. If you find any, please report them: http://code.google.com/p/xmonad/issues/list
|
||||||
|
Reference in New Issue
Block a user