summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kwolek <wojciech@kwolek.io>2024-06-08 06:27:22 +0200
committerWojciech Kwolek <wojciech@kwolek.io>2024-06-08 06:27:22 +0200
commitf928170d1ad7bd1694fbea8323288a9ab248863c (patch)
tree2f117013cef5b31f1af6979d716c6ee90e7993ce
parent9f49672889af6a9f46f56461fcde245f2804a6ed (diff)
add installation instructions
-rw-r--r--README.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 130955f..b817d26 100644
--- a/README.md
+++ b/README.md
@@ -20,4 +20,27 @@ Whitespace is stripped, but this might change in the future once I check if `dme
## Installation
-TODO
+From source:
+
+```shell
+git clone https://github.com/irth/dmenu_raycast
+cd dmenu_raycast
+npm install
+npx ray build -e dist -o dist
+open raycast://extensions/raycast/developer/import-extension
+```
+
+In Raycast, navigate to the "dist" that `npx ray build -e dist -o dist` created
+and choose it.
+
+Now, link the `dmenu_raycast` script to somewhere in your `$PATH`, for example
+
+```
+sudo ln -s $(pwd)/dmenu_raycast /usr/local/bin/
+```
+
+or
+
+```
+ln -s $(pwd)/dmenu_raycast ~/.local/bin
+```