summaryrefslogtreecommitdiffstats
path: root/README
blob: ee5a77a49eb54f39dcdbe9a923961e5eb6f920f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
            xmonad : a lightweight X11 window manager.

Motivation:

    dwm is great, but we can do better, building a more robust,
    more correct window manager in fewer lines of code, using strong
    static typing. Enter Haskell.

    If the aim of dwm is to fit in under 2000 lines of C, the aim of
    xmonad is to fit in under 500 lines of Haskell with similar functionality.

Building:

    Get the dependencies

    mtl             http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl-1.0
    X11             http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.2
        (Unfortunately X11-1.2 does not work correctly on AMD64.  The latest
         darcs version from http://darcs.haskell.org/packages/X11 does.)
    X11-extras:     http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-extras-0.1
    unix            http://hackage.haskell.org/cgi-bin/hackage-scripts/package/unix-2.0 
        (included with ghc)

    dmenu   2.{5,6,7} http://www.suckless.org/download/dmenu-2.7.tar.gz

And then build with Cabal:

    runhaskell Setup.lhs configure --prefix=/home/dons
    runhaskell Setup.lhs build
    runhaskell Setup.lhs install

Then add:

         exec /home/dons/bin/xmonad

    to the last line of your .xsession file

Authors:

    Spencer Janssen
    Don Stewart
    Jason Creighton