From 435b222e0334bfc3051afda5ab40439a084e2335 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sun, 5 Jan 2025 17:40:39 -0300 Subject: [PATCH] :boom: fix(anyrun): show results imediately, :sparkles: add more plugins --- anyrun/applications.ron | 5 +++++ anyrun/config.ron | 13 ++++++++----- anyrun/shell.ron | 4 ++-- anyrun/stdin.ron | 3 +-- anyrun/translate.ron | 5 +++++ anyrun/websearch.ron | 7 +++++++ 6 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 anyrun/applications.ron create mode 100644 anyrun/translate.ron create mode 100644 anyrun/websearch.ron diff --git a/anyrun/applications.ron b/anyrun/applications.ron new file mode 100644 index 0000000..6d404e2 --- /dev/null +++ b/anyrun/applications.ron @@ -0,0 +1,5 @@ +Config ( + max_entries: 8, + desktop_actions: false, + show_results_immediately: true +) diff --git a/anyrun/config.ron b/anyrun/config.ron index ef459b8..d260782 100644 --- a/anyrun/config.ron +++ b/anyrun/config.ron @@ -1,18 +1,21 @@ Config ( x: Fraction(0.5), - y: Fraction(0.35), + y: Fraction(0.2), width: Fraction(0.4), height: Absolute(100), hide_icons: false, ignore_exclusive_zones: false, layer: Overlay, - show_results_immediately: true, - max_entries: Some(8), + show_results_immediately: true, + max_entries: Some(100), close_on_click: true, hide_plugin_info: true, plugins: [ "libapplications.so", - "libshell.so" - ], + "libshell.so", + "libwebsearch.so", + "libtranslate.so", + "librink.so" + ] ) diff --git a/anyrun/shell.ron b/anyrun/shell.ron index 70b346a..e6dfbc8 100644 --- a/anyrun/shell.ron +++ b/anyrun/shell.ron @@ -1,4 +1,4 @@ Config ( - prefix: ":", - shell: "bash" + prefix: "!", + shell: "/usr/bin/env bash", ) diff --git a/anyrun/stdin.ron b/anyrun/stdin.ron index 9f8c17b..6855c75 100644 --- a/anyrun/stdin.ron +++ b/anyrun/stdin.ron @@ -1,5 +1,4 @@ Config ( - show_results_immediately: true, allow_invalid: false, - max_entries: Some(6) + max_entries: 8 ) diff --git a/anyrun/translate.ron b/anyrun/translate.ron new file mode 100644 index 0000000..0384ab8 --- /dev/null +++ b/anyrun/translate.ron @@ -0,0 +1,5 @@ +Config ( + prefix: ":", + language_delimeter: ">", + max_entries: 3 +) diff --git a/anyrun/websearch.ron b/anyrun/websearch.ron new file mode 100644 index 0000000..34604da --- /dev/null +++ b/anyrun/websearch.ron @@ -0,0 +1,7 @@ +Config ( + prefix: "?", + engines: [ + Google, + DuckDuckGo + ] +)