aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2022-06-24 13:59:55 +0300
committerla-ninpre <leobrekalini@gmail.com>2022-06-24 13:59:55 +0300
commit4c7d3eeaf792bcef3c8cab4ffac04360e41a531c (patch)
tree34fa483dc8c8beb4a0421ef91a81d31508238031 /example
parentb26b12dda75ef36981e0d0431650cfca6d638dda (diff)
downloadxmonad-config-4c7d3eeaf792bcef3c8cab4ffac04360e41a531c.tar.gz
xmonad-config-4c7d3eeaf792bcef3c8cab4ffac04360e41a531c.zip
readme: update to the latest config
oops, should've done it earlier. also added readme for stack-based approach.
Diffstat (limited to 'example')
-rw-r--r--example/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/example/README.md b/example/README.md
new file mode 100644
index 0000000..62958ce
--- /dev/null
+++ b/example/README.md
@@ -0,0 +1,24 @@
+if xmonad >=0.17 isn't available from your distro's package manager,
+the better option would be to use stack to build xmonad.
+
+install stack using your package manager or consider [stack's documentation][1].
+
+[1]:https://docs.haskellstack.org/en/stable/README/
+
+you need to copy `example/stack.yml.example` to
+`~/.config/xmonad/stack.yml`. and to copy `example/build` script to
+`~/.config/xmonad/build`. these are needed for xmonad to use stack for
+rebuilding.
+
+```
+$ cp ~/.config/xmonad/example/stack.yml.example ~/.config/xmonad/stack.yaml
+$ cp ~/.config/xmonad/example/build ~/.config/xmonad/build
+```
+
+also you need to fetch bunlded submodules using git (or provide xmonad-git and
+xmonad-contrib-git using some other way).
+
+```
+$ git submodule init
+$ git submodule update
+```