readme: added websearch (#76)

This commit is contained in:
Andrej Benz
2023-08-08 14:08:00 +02:00
committed by GitHub
parent 59e0bf6e57
commit 1da9daa605
3 changed files with 39 additions and 11 deletions

View File

@@ -63,6 +63,7 @@ You can use the flake:
```
The flake provides multiple packages:
- anyrun (default) - just the anyrun binary
- anyrun-with-all-plugins - anyrun and all builtin plugins
- applications - the applications plugin
@@ -74,8 +75,10 @@ The flake provides multiple packages:
- stdin - the stdin plugin
- symbols - the symbols plugin
- translate - the translate plugin
- websearch - the websearch plugin
#### home-manager module
We have a home-manager module available at `homeManagerModules.default`. You use it like this:
```nix
@@ -171,6 +174,8 @@ Anyrun requires plugins to function, as they provide the results for input. The
- Should generally be used exclusively with the `-o` argument.
- [Dictionary](plugins/dictionary/README.md)
- Look up definitions for words
- [Websearch](plugins/websearch/README.md)
- Search the web with configurable engines: Google, Ecosia, Bing, DuckDuckGo.
## Configuration

View File

@@ -99,6 +99,11 @@
inherit inputs lockFile;
name = "translate";
};
websearch = pkgs.callPackage ./nix/plugins/default.nix {
inherit inputs lockFile;
name = "websearch";
};
};
};

View File

@@ -0,0 +1,18 @@
# Websearch
Search with your preferred search-engine. You can configure multiple engines.
## Usage
Enter your search-term and select the resulting search action you want to perform.
## Configuration
Default config
```
Config(
prefix: "?",
engines: [Google] // options: Google, Ecosia, Bing, DuckDuckGo
)
```