fix: reuse betterbird profile

This commit is contained in:
Jet 2026-05-03 18:33:42 -07:00
parent 8e225f5d82
commit 7da82701df
No known key found for this signature in database
3 changed files with 74 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ homeLib, ... }:
{
dconf.settings = {
@ -40,6 +40,29 @@
noDisplay = true;
};
xdg.desktopEntries.betterbird = {
name = "Betterbird";
comment = "Mail, RSS and newsgroups client";
exec = "${homeLib.betterbirdLauncher}/bin/betterbird-profile %u";
icon = "betterbird";
terminal = false;
type = "Application";
categories = [
"Network"
"Email"
];
mimeType = [
"x-scheme-handler/mailto"
"message/rfc822"
"x-scheme-handler/webcal"
"x-scheme-handler/webcals"
];
settings = {
StartupNotify = "false";
StartupWMClass = "eu.betterbird.Betterbird";
};
};
xdg.mimeApps = {
enable = true;
defaultApplications = {