From fa4953bf0db4e06581a9e79cd9bbcf9ed49dbe74 Mon Sep 17 00:00:00 2001 From: Felix Zieger <67903933+felixzieger@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:20:24 +0100 Subject: [PATCH 1/3] nixos installation instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 2544f28..8f6d7de 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,22 @@ Ensure you have cargo installed (see [here](https://doc.rust-lang.org/cargo/gett cargo install scooter ``` +### NixOS + +Nix-shell (temporary) + +``` +nix-shell -p scooter +``` + +NixOS configuration + +``` + environment.systemPackages = [ + pkgs.scooter + ]; +``` + ### Building from source Ensure you have cargo installed (see [here](https://doc.rust-lang.org/cargo/getting-started/installation.html)), then run the following commands: From e0a4d7bd88488bac141f8833cf6a094a6f8f2068 Mon Sep 17 00:00:00 2001 From: Felix Zieger <67903933+felixzieger@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:54:22 +0100 Subject: [PATCH 2/3] Link to nixos package search for unstable --- README.md | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/README.md b/README.md index 8f6d7de..97da135 100644 --- a/README.md +++ b/README.md @@ -26,29 +26,7 @@ cargo install scooter ### NixOS -Nix-shell (temporary) - -``` -nix-shell -p scooter -``` - -NixOS configuration - -``` - environment.systemPackages = [ - pkgs.scooter - ]; -``` - -### Building from source - -Ensure you have cargo installed (see [here](https://doc.rust-lang.org/cargo/getting-started/installation.html)), then run the following commands: - -```sh -git clone git@github.com:thomasschafer/scooter.git -cd scooter -cargo install --path . -``` +Scooter is available in [nixpkgs](https://search.nixos.org/packages?channel=unstable&show=scooter). ## Usage From 22db05d8a688585c0d7567e2c60ad8c05dd65e4e Mon Sep 17 00:00:00 2001 From: Felix Zieger <67903933+felixzieger@users.noreply.github.com> Date: Sat, 16 Nov 2024 18:57:53 +0100 Subject: [PATCH 3/3] Bring building from source back --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 97da135..4ef234c 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,16 @@ cargo install scooter Scooter is available in [nixpkgs](https://search.nixos.org/packages?channel=unstable&show=scooter). +### Building from source + +Ensure you have cargo installed (see [here](https://doc.rust-lang.org/cargo/getting-started/installation.html)), then run the following commands: + +```sh +git clone git@github.com:thomasschafer/scooter.git +cd scooter +cargo install --path . +``` + ## Usage Run `scooter` in a terminal to launch Scooter. You can then enter some text to search with and text to replace matches with, toggle on or off fixed strings, and enter a regex pattern that filenames must match. A more extensive set of keymappings will be shown at the bottom of the window: these vary slightly depending on the screen you're on.