49 lines
1.3 KiB
Nix
49 lines
1.3 KiB
Nix
{ ... }:
|
|
{
|
|
home.file."librewolf-gnome-theme" = {
|
|
target = ".librewolf/default/chrome/librewolf-gnome-theme";
|
|
source = fetchTarball {
|
|
url = "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/v143.tar.gz";
|
|
sha256 = "1gkfi77n8cn5xzl3wi9mggh7adirjrsnbqygg1mcvjy0ynmd6kfh";
|
|
};
|
|
};
|
|
|
|
programs.librewolf = {
|
|
enable = true;
|
|
profiles.default = {
|
|
name = "Default";
|
|
settings = {
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"svg.context-properties.content.enabled" = true;
|
|
"gnomeTheme.hideSingleTab" = true;
|
|
};
|
|
userChrome = ''
|
|
@import "librewolf-gnome-theme/userChrome.css";
|
|
@import "librewolf-gnome-theme/theme/colors/dark.css";
|
|
'';
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries.librewolf = {
|
|
categories = [
|
|
"Network"
|
|
"WebBrowser"
|
|
];
|
|
comment = "Browse the Web";
|
|
exec = "librewolf --name librewolf %U";
|
|
genericName = "Web Browser";
|
|
icon = ./icon.svg;
|
|
mimeType = [
|
|
"text/html"
|
|
"text/xml"
|
|
"application/xhtml+xml"
|
|
"application/vnd.mozilla.xul+xml"
|
|
"x-scheme-handler/http"
|
|
"x-scheme-handler/https"
|
|
];
|
|
name = "Web";
|
|
startupNotify = true;
|
|
terminal = false;
|
|
type = "Application";
|
|
};
|
|
}
|