readme: added websearch (#76)
This commit is contained in:
@@ -63,6 +63,7 @@ You can use the flake:
|
|||||||
```
|
```
|
||||||
|
|
||||||
The flake provides multiple packages:
|
The flake provides multiple packages:
|
||||||
|
|
||||||
- anyrun (default) - just the anyrun binary
|
- anyrun (default) - just the anyrun binary
|
||||||
- anyrun-with-all-plugins - anyrun and all builtin plugins
|
- anyrun-with-all-plugins - anyrun and all builtin plugins
|
||||||
- applications - the applications plugin
|
- applications - the applications plugin
|
||||||
@@ -74,8 +75,10 @@ The flake provides multiple packages:
|
|||||||
- stdin - the stdin plugin
|
- stdin - the stdin plugin
|
||||||
- symbols - the symbols plugin
|
- symbols - the symbols plugin
|
||||||
- translate - the translate plugin
|
- translate - the translate plugin
|
||||||
|
- websearch - the websearch plugin
|
||||||
|
|
||||||
#### home-manager module
|
#### home-manager module
|
||||||
|
|
||||||
We have a home-manager module available at `homeManagerModules.default`. You use it like this:
|
We have a home-manager module available at `homeManagerModules.default`. You use it like this:
|
||||||
|
|
||||||
```nix
|
```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.
|
- Should generally be used exclusively with the `-o` argument.
|
||||||
- [Dictionary](plugins/dictionary/README.md)
|
- [Dictionary](plugins/dictionary/README.md)
|
||||||
- Look up definitions for words
|
- Look up definitions for words
|
||||||
|
- [Websearch](plugins/websearch/README.md)
|
||||||
|
- Search the web with configurable engines: Google, Ecosia, Bing, DuckDuckGo.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
@@ -99,6 +99,11 @@
|
|||||||
inherit inputs lockFile;
|
inherit inputs lockFile;
|
||||||
name = "translate";
|
name = "translate";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
websearch = pkgs.callPackage ./nix/plugins/default.nix {
|
||||||
|
inherit inputs lockFile;
|
||||||
|
name = "websearch";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
18
plugins/websearch/README.md
Normal file
18
plugins/websearch/README.md
Normal 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
|
||||||
|
)
|
||||||
|
```
|
Reference in New Issue
Block a user