feat: fix bat themes

This commit is contained in:
Jet 2026-05-31 16:35:49 -07:00
parent 77d8cf1b36
commit 598e0e49f6
No known key found for this signature in database
3 changed files with 15 additions and 35 deletions

View file

@ -174,21 +174,22 @@ in
'';
extensions.packages = zenQolExtensions;
search = {
default = "Local Google";
privateDefault = "Local Google";
default = "Google Web";
privateDefault = "Google Web";
force = true;
engines = {
"Local Google" = {
urls = [ { template = "http://127.0.0.1:8888/search?q={searchTerms}"; } ];
definedAliases = [ "@lg" ];
};
"Google Web" = {
urls = [ { template = "https://www.google.com/search?q={searchTerms}&pws=0&udm=14"; } ];
definedAliases = [ "@g" ];
urls = [ { template = "https://www.google.com/search?q={searchTerms}&udm=14&pws=0&filter=0&nfpr=1&hl=en&gl=US&safe=active"; } ];
definedAliases = [
"@g"
];
};
"SearXNG" = {
urls = [ { template = "https://search.extremist.software/search?q={searchTerms}"; } ];
definedAliases = [ "@s" ];
"Google Basic" = {
urls = [ { template = "https://www.google.com/search?gbv=1&q={searchTerms}&udm=14&pws=0&filter=0&nfpr=1&hl=en&gl=US&safe=active"; } ];
definedAliases = [
"@gb"
"@gnj"
];
};
};
};

View file

@ -49,7 +49,9 @@
ui = {
default-command = "log";
editor = "hx";
pager = "bat --style=plain";
# Avoid bat's automatic terminal background query leaking into shell input
# when jj runs it as a pager with stdin connected to jj output.
pager = "bat --style=plain --theme=TwoDark";
};
diff.tool = [
"difft"