add search

This commit is contained in:
Osman Faruk Bayram 2025-07-29 02:31:29 +03:00
parent dfac42ff0d
commit 11998e1765

View file

@ -64,12 +64,30 @@
} }
]; ];
} }
{ {
size = "full"; size = "full";
widgets = [ widgets = [
{ {
type = "repository"; type = "search";
repository = "NixOS/nixpkgs"; search-engine = "google";
bangs = [
{
title = "youtube";
shortcut = "!yt";
url = "https://www.youtube.com/results?search_query={QUERY}";
}
{
title = "nixpkgs";
shortcut = "!np";
url = "https://search.nixos.org/packages?channel=unstable&query={QUERY}";
}
{
title = "nixos";
shortcut = "!no";
url = "https://search.nixos.org/options?channel=unstable&query={QUERY}";
}
];
} }
{ {
cache = "1m"; cache = "1m";