From f928170d1ad7bd1694fbea8323288a9ab248863c Mon Sep 17 00:00:00 2001 From: Wojciech Kwolek Date: Sat, 8 Jun 2024 06:27:22 +0200 Subject: add installation instructions --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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 +``` -- cgit v1.2.3