From ae824fcb4791d30faa7c361f6cb8f33af6cf4d2e Mon Sep 17 00:00:00 2001 From: "Reid \"reidlab" Date: Sat, 7 Sep 2024 23:42:46 -0700 Subject: [PATCH] improve readme steps --- README.md | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5aa6386..a123a85 100644 --- a/README.md +++ b/README.md @@ -18,24 +18,32 @@ you also have the option to define your mpris bus name, which will instead wait *if you're on a setup that uses nix, you can just use `nix build` or the provided devshell to build the application.* -first, clone repository: +1. the nix way -```sh -git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris -``` + ```sh + nix run git+https://git.reidlab.pink/reidlab/lastfmpris.git + ``` -second, obtain dependencies (this will vary on your package manager, here, alpine is used) +2. the normal way -```sh -sudo apk add install pkgconf openssl dbus -``` + first, clone repository: -finally, run/build + ```sh + git clone https://git.reidlab.pink/reidlab/lastfmpris && cd lastfmpris + ``` -```sh -cargo run -``` + second, obtain dependencies (this will vary on your package manager, here, alpine is used) -```sh -cargo build --release -``` \ No newline at end of file + ```sh + sudo apk add install pkgconf openssl dbus + ``` + + finally, run/build + + ```sh + cargo run + ``` + + ```sh + cargo build --release + ``` \ No newline at end of file