feat (home/graphical): custom .desktop files, filter default apps
This commit is contained in:
parent
cb57c3fd7c
commit
d5b2a8832b
6 changed files with 280 additions and 47 deletions
51
home/packages/thunderbird/default.nix
Normal file
51
home/packages/thunderbird/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ ... }:
|
||||
{
|
||||
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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue