From 06017e753c8886d5296768dca80745ee09402a2d Mon Sep 17 00:00:00 2001 From: Kirottu Date: Fri, 27 Dec 2024 14:04:11 +0200 Subject: [PATCH] [Stdin] Added configuration file documentation --- plugins/stdin/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/plugins/stdin/README.md b/plugins/stdin/README.md index 6ebe6eb..8c48397 100644 --- a/plugins/stdin/README.md +++ b/plugins/stdin/README.md @@ -7,3 +7,15 @@ Allows for easy integration into scripts that have been made with something like This plugin should generally be used alone, if a dmenu replacement is needed. This can be done with `anyrun --plugins libstdin.so`. The content to fuzzy match on needs to be piped into Anyrun. + +## Configuration + +```ron +Config( + // Whether to allow the user to input any arbitrary text besides the options provided + allow_invalid: false, + // How many entries should be displayed at max + max_entries: 5, +) + +```