diff --git a/options/custom/programs/chromium.nix b/options/custom/programs/chromium.nix index ac07e47..25696aa 100644 --- a/options/custom/programs/chromium.nix +++ b/options/custom/programs/chromium.nix @@ -138,6 +138,12 @@ in { url = "https://github.com/i3/i3/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; } + { + name = "Kagi"; + shortcut = "k"; + url = "https://kagi.com?q={searchTerms}"; + } + { name = "Lutris"; shortcut = "l"; diff --git a/options/custom/programs/firefox.nix b/options/custom/programs/firefox.nix index 2d293e7..7f58e0f 100644 --- a/options/custom/programs/firefox.nix +++ b/options/custom/programs/firefox.nix @@ -353,6 +353,13 @@ in { URLTemplate = "https://github.com/i3/i3/issues?q=is%3Aissue+is%3Aopen+{searchTerms}"; } + { + Name = "Kagi"; + Alias = "k"; + IconURL = "https://kagi.com/asset/v2/favicon-32x32.png"; + URLTemplate = "https://kagi.com?q={searchTerms}"; + } + { Name = "Lutris"; Alias = "l"; diff --git a/options/custom/programs/walker/search.sh b/options/custom/programs/walker/search.sh index fc831fc..c175e7a 100644 --- a/options/custom/programs/walker/search.sh +++ b/options/custom/programs/walker/search.sh @@ -86,6 +86,12 @@ case "$1" in url="https://github.com/i3/i3/issues?q=is%3Aissue+is%3Aopen+" query="${1:3}" ;; + 'k '*) + label="Kagi" + icon="kagi" + url="https://kagi.com?q=" + query="${1:2}" + ;; 'l '*) label="Lutris" icon="lutris"