vanadium: fix firefox alias prefix

This commit is contained in:
Primrose 2025-06-26 23:45:58 +02:00
parent 98edead7f6
commit 058ed28280
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -32,8 +32,8 @@ in {
Name = "Google ${lr'}@${hl'}";
Alias =
if (lib.removePrefix "lang_" lr == hl)
then "G" + lr'
else "G" + lr' + hl';
then "@G" + lr'
else "@G" + lr' + hl';
Description = "Your data yum yum (but ${lr'} in ${hl'})";
IconURL = "https://google.com/favicon.ico";
SuggestURLTemplate = "https://suggestqueries.google.com/complete/search?q={searchTerms}&lr=${lr}&hl=${hl}";
@ -48,28 +48,28 @@ in {
# Forges
{
Name = "GitHub";
Alias = "ggh";
Alias = "@ggh";
IconURL = "https://github.com/favicon.ico";
Description = "Your code yum yum";
URLTemplate = "https://github.com/search?q={searchTerms}&type=repositories";
}
{
Name = "GitHub (Code Search)";
Alias = "gghc";
Alias = "@gghc";
IconURL = "https://github.com/favicon.ico";
Description = "Your code yum yum";
URLTemplate = "https://github.com/search?q={searchTerms}&type=code";
}
{
Name = "Codeberg";
Alias = "gco";
Alias = "@gco";
IconURL = "https://codeberg.org/favicon.ico";
Description = "Software development, but free!";
URLTemplate = "https://codeberg.org/explore/repos?q={searchTerms}";
}
{
Name = "?C";
Alias = "gcc";
Alias = "@gcc";
IconURL = "https://git.confusedcompiler.org/favicon.ico";
URLTemplate = "https://git.confusedcompiler.org/explore/repos?q={searchTerms}";
}
@ -77,14 +77,14 @@ in {
# Nix{,OS,pkgs}
{
Name = "NixOS Search (Package)";
Alias = "np";
Alias = "@np";
IconURL = "https://nixos.org/favicon.ico";
Description = "Search in nixpkgs";
URLTemplate = "https://search.nixos.org/packages?query={searchTerms}";
}
{
Name = "NixOS Search (Options)";
Alias = "no";
Alias = "@no";
IconURL = "https://nixos.org/favicon.ico";
Description = "Search in NixOS options";
URLTemplate = "https://search.nixos.org/options?query={searchTerms}";
@ -93,13 +93,13 @@ in {
# Discourse
{
Name = "NixOS Discourse";
Alias = "nd";
Alias = "@nd";
IconURL = "https://nixos.org/favicon.ico";
URLTemplate = "https://discourse.nixos.org/search?q={searchTerms}";
}
{
Name = "Framework Discourse";
Alias = "fd";
Alias = "@fd";
IconURL = "https://frame.work/favicon.ico";
URLTemplate = "https://community.frame.work/search?q={searchTerms}";
}
@ -107,14 +107,14 @@ in {
# Misc
{
Name = "YouTube";
Alias = "yt";
Alias = "@yt";
IconURL = "https://youtube.com/favicon.ico";
SuggestURLTemplate = "http://suggestqueries.google.com/complete/search?q={searchTerms}&ds=yt";
URLTemplate = "https://www.youtube.com/results?search_query={searchTerms}";
}
{
Name = "Genius";
Alias = "geni";
Alias = "@geni";
IconURL = "https://genius.com/favicon.ico";
URLTemplate = "https://genius.com/search?q={searchTerms}";
}