From 59e01a0d9f06c55af91f803adc57fd0190be654b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 19 Oct 2023 08:42:38 +0100 Subject: [PATCH] Set anyrun websearch to use DuckDuckGo --- home/hyprland/anyrun.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/home/hyprland/anyrun.nix b/home/hyprland/anyrun.nix index 0ba7bad0..99c0ce8b 100644 --- a/home/hyprland/anyrun.nix +++ b/home/hyprland/anyrun.nix @@ -20,7 +20,21 @@ hidePluginInfo = true; closeOnClick = true; }; - + extraConfigFiles."websearch.ron".text = '' + Config( + prefix: "!", + // Options: Google, Ecosia, Bing, DuckDuckGo, Custom + // + // Custom engines can be defined as such: + // Custom( + // name: "Searx", + // url: "searx.be/?q={}", + // ) + // + // NOTE: `{}` is replaced by the search query and `https://` is automatically added in front. + engines: [DuckDuckGo] + ) + ''; extraCss = with config.lib.stylix.colors.withHashtag; '' * { all: unset;