example/README.md (view raw)
1if xmonad >=0.17 isn't available from your distro's package manager,
2the better option would be to use stack to build xmonad.
3
4install stack using your package manager or consider [stack's documentation][1].
5
6[1]:https://docs.haskellstack.org/en/stable/README/
7
8you need to copy `example/stack.yml.example` to
9`~/.config/xmonad/stack.yml`. and to copy `example/build` script to
10`~/.config/xmonad/build`. these are needed for xmonad to use stack for
11rebuilding.
12
13```
14$ cp ~/.config/xmonad/example/stack.yml.example ~/.config/xmonad/stack.yaml
15$ cp ~/.config/xmonad/example/build ~/.config/xmonad/build
16```
17
18also you need to fetch bunlded submodules using git (or provide xmonad-git and
19xmonad-contrib-git using some other way).
20
21```
22$ git submodule init
23$ git submodule update
24```