diff --git a/homes/aly/mail/default.nix b/homes/aly/mail/default.nix index 6670dd6e..8be6acd5 100644 --- a/homes/aly/mail/default.nix +++ b/homes/aly/mail/default.nix @@ -29,9 +29,25 @@ in { thunderbird = { enable = true; - profiles.default = { - isDefault = true; + profiles = { + default.isDefault = true; + work = {}; }; }; }; + + xdg.desktopEntries.thunderwork = { + categories = ["Application" "Network" "Chat" "Email" "Feed" "GTK" "News"]; + exec = "thunderbird -P work --name thunderwork %U"; + comment = "Read and write e-mails or RSS feeds, or manage tasks on calendars."; + genericName = "Email Client"; + icon = "thunderbird"; + mimeType = ["message/rfc822" "x-scheme-handler/mailto" "text/calendar" "text/x-vcard"]; + name = "Thunderbird (work)"; + startupNotify = true; + terminal = false; + settings = { + StartupWMClass = "thunderwork"; + }; + }; }