From 5d5e815271292342a4c2af0277aa89558c0e33d8 Mon Sep 17 00:00:00 2001 From: Ethan Coe-Renner Date: Tue, 20 Aug 2024 22:02:06 -0700 Subject: [PATCH] add nixpackages search engine to qutebrowser --- .chezmoitemplates/qutebrowser_config.py | 1 + dot_config/hypr/hyprland.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/.chezmoitemplates/qutebrowser_config.py b/.chezmoitemplates/qutebrowser_config.py index 7b021dc..966cb16 100644 --- a/.chezmoitemplates/qutebrowser_config.py +++ b/.chezmoitemplates/qutebrowser_config.py @@ -10,6 +10,7 @@ c.url.searchengines = { "DEFAULT":"https://duckduckgo.com/?q={}", + "np": "https://search.nixos.org/packages?type=packages&query={}", "yt": "https://www.youtube.com/results?search_query={}", "wa": diff --git a/dot_config/hypr/hyprland.conf b/dot_config/hypr/hyprland.conf index a5ee92c..e35a7c7 100644 --- a/dot_config/hypr/hyprland.conf +++ b/dot_config/hypr/hyprland.conf @@ -167,6 +167,7 @@ bind = $mainMod, B, exec, $browser bind = $mainMod, C, killactive, bind = $mainMod SHIFT, E, exit, bind = $mainMod, X, exec, emacsclient -c +bind = $mainMod SHIFT, X, exec, emacs bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod, P, pseudo, # dwindle