Skip to content

Commit

Permalink
Fix firefox search engines
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Dec 8, 2024
1 parent cf3bcb6 commit 923a712
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 67 deletions.
136 changes: 83 additions & 53 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 5 additions & 14 deletions home/programs/browsers/schizofox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ in {

search = {
defaultSearchEngine = "Startpage";
removeEngines = [
"DuckDuckGo"
"Wikipedia (en)"
];
addEngines = [
{
Name = "Startpage";
Expand Down Expand Up @@ -75,24 +79,11 @@ in {
URLTemplate = "https://old.reddit.com/search?q={searchTerms}";
Alias = "!r";
}
{
name = "Youtube";
Description = "Search Youtube";
Method = "GET";
URLTemplate = "https://www.youtube.com/results?search_query={searchTerms}";
Alias = "!yt";
}
{
name = "Google";
Description = "Search Google";
Method = "GET";
URLTemplate = "https://www.google.com/search?q={searchTerms}";
Alias = "!g";
}
];
};

security = {
sandbox = false;
noSessionRestore = false;
userAgent = "Mozilla/5.0 (X11; Linux i686; rv:128.5) Gecko/20100101 Firefox/128.5";
};
Expand Down

0 comments on commit 923a712

Please sign in to comment.