51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{ ... }:
|
|
{
|
|
home.file."thunderbird-gnome-theme" = {
|
|
target = ".thunderbird/default/chrome/thunderbird-gnome-theme";
|
|
source = fetchTarball {
|
|
url = "https://github.com/rafaelmardojai/thunderbird-gnome-thee/archive/v115.tar.gz";
|
|
sha256 = "1l295w61h5469328qkjggny3mjq1x0q3zr9p8pz5sq5pypc7604x";
|
|
};
|
|
};
|
|
|
|
programs.thunderbird = {
|
|
enable = true;
|
|
profiles.default = {
|
|
isDefault = true;
|
|
settings = {
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"svg.context-properties.content.enabled" = true;
|
|
"gnomeTheme.hideTabbar" = true;
|
|
};
|
|
userChrome = ''
|
|
@import "thunderbird-gnome-theme/userChrome.css";
|
|
@import "thunderbird-gnome-theme/theme/colors/dark.css";
|
|
'';
|
|
};
|
|
};
|
|
|
|
xdg.desktopEntries.thunderbird = {
|
|
categories = [
|
|
"Network"
|
|
"Chat"
|
|
"Email"
|
|
"Feed"
|
|
"GTK"
|
|
"News"
|
|
];
|
|
comment = "Read and write e-mails or RSS feeds, or manage tasks on calendars.";
|
|
exec = "thunderbird --name thunderbird %U";
|
|
genericName = "Email Client";
|
|
icon = ./icon.svg;
|
|
mimeType = [
|
|
"message/rfc822"
|
|
"x-scheme-handler/mailto"
|
|
"text/calendar"
|
|
"text/x-vcard"
|
|
];
|
|
name = "Email";
|
|
startupNotify = true;
|
|
terminal = false;
|
|
type = "Application";
|
|
};
|
|
}
|